Closed jraddaoui closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 51.31%. Comparing base (
1dcfffc
) to head (4ce83bb
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The current implementation uses the the authorization code flow (with PKCE) from the UI to obtain the token and validates it against the provider from the API on each request. These changes just remove unnecessary pieces from that implementation, as the secret is not used to verify the tokens either, we don't need the cross-client support.
We'll probably change this at some point to use a more secure Backend For Frontend (BFF) flow, where we'll get the token from the backend using client credentials.
Refs #957.