re-add implicit and fix?
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -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"""
|
||||||
|
|||||||
@ -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):
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user