Content
View differences
Updated by Eric Schubert over 2 years ago
**As** a OpenProject developer
**I want to** be able to authenticate outbound requests with the client credentials method of the OAuth2 RFC
**so that** I can choose the correct authentication method for any query I want to craft to do outbound requests.
**Acceptance criteria**
* If a developer writes code doing outbound request, he/she must be able to reuse a general approach of authentication.
_Notes for QA: No UI testable. Tests need to be on Epic level._
_**UPDATE 2024-02-08**_
* HTTPX latest oauth plugin version now supports correct authentication `with_refresh_token` and `with_access_token`
* we should rewrite the authentication in the queries and commands to use httpx authentication
* we need to rewrite the retry on 401|403 outside of connection manager and usage of httpx
**I want to** be able to authenticate outbound requests with the client credentials method of the OAuth2 RFC
**so that** I can choose the correct authentication method for any query I want to craft to do outbound requests.
**Acceptance criteria**
* If a developer writes code doing outbound request, he/she must be able to reuse a general approach of authentication.
_Notes for QA: No UI testable. Tests need to be on Epic level._
_**UPDATE 2024-02-08**_
* HTTPX latest oauth plugin version now supports correct authentication `with_refresh_token` and `with_access_token`
* we should rewrite the authentication in the queries and commands to use httpx authentication
* we need to rewrite the retry on 401|403 outside of connection manager and usage of httpx