re-add implicit and fix?

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-29 21:00:28 +02:00
parent 0ca4775600
commit 873dd95641
3 changed files with 7 additions and 2 deletions

View File

@ -150,12 +150,12 @@ class OAuthAuthorizationParams:
self.check_redirect_uri() self.check_redirect_uri()
self.check_grant() self.check_grant()
self.check_scope(github_compat) self.check_scope(github_compat)
self.check_nonce()
self.check_code_challenge()
if self.request: if self.request:
raise AuthorizeError( raise AuthorizeError(
self.redirect_uri, "request_not_supported", self.grant_type, self.state self.redirect_uri, "request_not_supported", self.grant_type, self.state
) )
self.check_nonce()
self.check_code_challenge()
def check_grant(self): def check_grant(self):
"""Check grant""" """Check grant"""

View File

@ -102,6 +102,7 @@ def generate(plan_name: str):
self.run_test(module_id) self.run_test(module_id)
self.conformance.wait_for_state(module_id, ["FINISHED"], timeout=self.wait_timeout) self.conformance.wait_for_state(module_id, ["FINISHED"], timeout=self.wait_timeout)
sleep(2) sleep(2)
return tester_func return tester_func
class test_cls(BaseOpenIDConformance): class test_cls(BaseOpenIDConformance):

View File

@ -3,3 +3,7 @@ from tests.openid_conformance.generator import generate
class TestConformanceOIDCCBasicCertification(generate("oidcc-basic-certification-test-plan")): class TestConformanceOIDCCBasicCertification(generate("oidcc-basic-certification-test-plan")):
pass pass
class TestConformanceOIDCCImplicitCertification(generate("oidcc-implicit-certification-test-plan")):
pass