Content
View differences
Updated by Pavel Balashou over 2 years ago
**As** a OpenProject developer working on integrations with third party software using OAuth access tokens
**I want to** have a page per \`OAuthClient\` that will kick off the OAuth grant flow unless an access token is already available
**so that** so that I can sent the user to that page everytime I want to make sure that the OAuth connection is successfully setup
**Acceptance criteria**
* There is a sibling route to the `callback` route `ensure_connection` `ensure_access`
* After granting the access token, or when the token was already there, a page gets rendered, stating that the connection was setup successfully.
This work package is a first step towards a bigger goal to ensure connections to file storages.
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=4825-111390&mode=design&t=FTHVfbC7RAmRW9VY-0
**I want to** have a page per \`OAuthClient\` that will kick off the OAuth grant flow unless an access token is already available
**so that** so that I can sent the user to that page everytime I want to make sure that the OAuth connection is successfully setup
**Acceptance criteria**
* There is a sibling route to the `callback` route `ensure_connection`
* After granting the access token, or when the token was already there, a page gets rendered, stating that the connection was setup successfully.
This work package is a first step towards a bigger goal to ensure connections to file storages.