Content
View differences
Updated by Eric Schubert about 2 years ago
**Todo** **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**
* introduce new authentication layer that is 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 used in commands/queries
on Epic level._
_**UPDATE 2024-02-08**_
* reduce HTTPX latest oauth backend plugin version now supports correct authentication (token refresh, etc.) functionality `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.
_Notes for QA: No UI testable. Tests need to
_**UPDATE 2024-02-08**_
* we should rewrite the authentication
* we need to rewrite the retry on 401|403 outside of