Content
Updated by Wieland Lindenthal over 2 years ago
We are now at a point in which we should be able to script the setup of an integration. Would be great to have that ready and also nicely documented. Also, we will know first hand, that the flow is working and will not leave it to test for the first brave people trying the integration.
Expect ENV variables
* NEXTCLOUD\_HOST
* OPENPROJECT\_STORAGE\_HOST
* OPENPROJECT\_STORAGE\_NAME
Assumptions are:
* OpenProject is setup
* The credentials of the OpenProject global user are present
* Nextcloud is setup.
* The "OpenProject Integration" app is installed. installed
* In Nextcloud Unsure: <mention class="mention" data-id="73704" data-type="user" data-text="@Artur Neumann">@Artur Neumann</mention> do we already have setup an admin some global user a know her credentials. equivalent in Nextcloud?
And then the script does:
* Create a storage in OpenProject, receive OpenProject OAuth credentials (probably acting as global admin)
* Send those credentials to the new API in the Nextlcoud app, receive Nextcloud OAuth credentials
* Patch/Update OpenProject storage with Nextcloud OAuth credentials (again as global admin)
Also would be nice to have that script mentioned in the README so that others can find it.
Expect ENV variables
* NEXTCLOUD\_HOST
* OPENPROJECT\_STORAGE\_HOST
* OPENPROJECT\_STORAGE\_NAME
Assumptions are:
* OpenProject is setup
* The credentials of the OpenProject global user are present
* Nextcloud is setup.
* The "OpenProject Integration" app is installed.
* In Nextcloud
And then the script does:
* Create a storage in OpenProject, receive OpenProject OAuth credentials (probably acting as global admin)
* Send those credentials to the new API in the Nextlcoud app, receive Nextcloud OAuth credentials
* Patch/Update OpenProject storage with Nextcloud OAuth credentials (again as global admin)
Also would be nice to have that script mentioned in the README so that others can find it.