Files
romm/backend/tests/decorators
Juan Garces 6efcd0a1e7 test(auth): exercise the real OIDC client instead of a stand-in
The previous test built its own AsyncOAuth2Client and passed an explicit
code_verifier, so it asserted Authlib's behaviour rather than RomM's and
passed with or without the fix.

Drive oauth.openid.authorize_redirect (what /api/login/openid calls) and
assert the challenge on the redirect matches the verifier saved to the
session, which is the pair the callback needs to redeem the code.
2026-08-22 15:14:57 -05:00
..