mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
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.