fix: coerce malformed profile JSON to OAuthError; add redirect_uri assertion

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 08:46:19 -04:00
parent 87aeec5999
commit 2f5da9fc5e
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -363,6 +363,7 @@ def test_build_auth_url_gitea():
assert qs["state"] == ["teststate"]
assert qs["scope"] == ["user:email"]
assert qs["response_type"] == ["code"]
assert qs["redirect_uri"] == ["https://hbd.example.com/login/oauth/gitea/callback"]
def test_build_auth_url_github():