Content
View differences
Updated by Sajan Gurung over 1 year ago
If the logged-in user is not an odic user, we currently show an error message indicating that the OpenProject connection is not available for this user.
`**This feature is not available for this user account :)**`
Wondering if this error text is enough. Beautify the error message or add some links to the docs?
Cases to handle:
* not an OIDC user
* invalid user token
<br>
### Steps for testing
1. Clone the latest \[integration app\](https://github.com/nextcloud/integration\_openproject)
2. Start NC, OP and Keycloak using this \[docs\](https://github.com/nextcloud/integration\_openproject/blob/master/docs/setup\_nc\_op\_\_full.md)
3. In Keycloak, add new realm and two OIDC clients for NC and OP. See [https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/](https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/)
4. In NC, download and enable \[user\_oidc\](https://github.com/nextcloud/user\_oidc) app
5. (In NC) From OpenID admin settings, add the oidc provider. see [https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/](https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/)
6. (In NC) From OpenProject admin settings, setup connection via OIDC method
1. Add openproject url (for urls see [https://github.com/nextcloud/integration\_openproject/blob/master/docs/setup\_nc\_op\_\_full.md#run-the-setup)](https://github.com/nextcloud/integration_openproject/blob/master/docs/setup_nc_op__full.md#run-the-setup\))
2. Select OIDC method
3. Select oidc provider (keycloak)
4. Add client-id set for openproject (client-id from keycloak)
5. Finish setup without groupfolders
7. In NC, check the OpenProject personal settings by current user (admin)
8. Check the error message. should be \``This feature is not available for this user account`\`
`**This feature is not available for this user account :)**`
Wondering if this error text is enough. Beautify the error message or add some links to the docs?
Cases to handle:
* not an OIDC user
* invalid user token
<br>
### Steps for testing
1. Clone the latest \[integration app\](https://github.com/nextcloud/integration\_openproject)
2. Start NC, OP and Keycloak using this \[docs\](https://github.com/nextcloud/integration\_openproject/blob/master/docs/setup\_nc\_op\_\_full.md)
3. In Keycloak, add new realm and two OIDC clients for NC and OP. See [https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/](https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/)
4. In NC, download and enable \[user\_oidc\](https://github.com/nextcloud/user\_oidc) app
5. (In NC) From OpenID admin settings, add the oidc provider. see [https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/](https://schiessle.eu/en/articles/2023/07/04/nextcloud-and-openid-connect/)
6. (In NC) From OpenProject admin settings, setup connection via OIDC method
1. Add openproject url (for urls see [https://github.com/nextcloud/integration\_openproject/blob/master/docs/setup\_nc\_op\_\_full.md#run-the-setup)](https://github.com/nextcloud/integration_openproject/blob/master/docs/setup_nc_op__full.md#run-the-setup\))
2. Select OIDC method
3. Select oidc provider (keycloak)
4. Add client-id set for openproject (client-id from keycloak)
5. Finish setup without groupfolders
7. In NC, check the OpenProject personal settings by current user (admin)
8. Check the error message. should be \``This feature is not available for this user account`\`