Content
View differences
Updated by Swikriti Tripathi about 4 years ago
**As** an administrator
**I want to** be able to create an OAuth client from the "OpenProject integration" admin page in NC
**so that** I don't have to find my way to the OAuth app and do it there
**Acceptance criteria**
* ~~check check if the OAuth app is installed~~ (OAuth app cannot be disabled so this step might not be necessary) installed
* check if all OpenProjects details in NC are entered correctly (URL, client ID, client secret)
* if the details are entered, show a button to generate an OAuth client
* make the name of the OAuth client unique but also make sure its clear from looking at the name that its for OpenProject
* create an OAuth client in NC when clicking on the "generate OAuth client" button (see [https://github.com/nextcloud/integration\_openproject/pull/97](https://github.com/nextcloud/integration_openproject/pull/97) on how to generate that)
* remember the name of the OAuth client that is used for OpenProject
* if the client is already generated show the fields for it even if the settings of the OpenProject connection are not complete
* when changing the URL of the OpenProject server, change the callback URL of the OAuth client to be used for OpenProject
* have a "renew" button that deletes the existing OAuth client and creates a new one
**I want to** be able to create an OAuth client from the "OpenProject integration" admin page in NC
**so that** I don't have to find my way to the OAuth app and do it there
**Acceptance criteria**
* ~~check
* check if all OpenProjects details in NC are entered correctly (URL, client ID, client secret)
* if the details are entered, show a button to generate an OAuth client
* make the name of the OAuth client unique but also make sure its clear from looking at the name that its for OpenProject
* create an OAuth client in NC when clicking on the "generate OAuth client" button (see [https://github.com/nextcloud/integration\_openproject/pull/97](https://github.com/nextcloud/integration_openproject/pull/97) on how to generate that)
* remember the name of the OAuth client that is used for OpenProject
* if the client is already generated show the fields for it even if the settings of the OpenProject connection are not complete
* when changing the URL of the OpenProject server, change the callback URL of the OAuth client to be used for OpenProject
* have a "renew" button that deletes the existing OAuth client and creates a new one