mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
a3b0180049
* providers/oauth: make rp init logout oidc certification changes * update test * slight rework Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add oidc certification tests * test * fix backchannel url * make urls uniform * update to main * remove env bind * cleanup patch Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fixup Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add traefik healthcheck Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix healthcheck Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
27 lines
1009 B
Python
27 lines
1009 B
Python
from authentik.flows.models import Flow
|
|
from authentik.providers.oauth2.models import OAuth2LogoutMethod, OAuth2Provider
|
|
from tests.decorators import retry
|
|
from tests.openid_conformance.base import TestOpenIDConformance
|
|
|
|
|
|
class TestOpenIDConformanceFrontchannel(TestOpenIDConformance):
|
|
|
|
def setUp(self):
|
|
super().setUp()
|
|
OAuth2Provider.objects.filter(name__startswith="oidc-conformance-").update(
|
|
invalidation_flow=Flow.objects.get(slug="default-invalidation-flow"),
|
|
logout_method=OAuth2LogoutMethod.FRONTCHANNEL,
|
|
logout_uri="https://localhost:8443/test/a/authentik/frontchannel_logout",
|
|
)
|
|
|
|
@retry()
|
|
def test_oidcc_frontchannel_logout_certification_test_plan(self):
|
|
self.run_test(
|
|
"oidcc-frontchannel-rp-initiated-logout-certification-test-plan",
|
|
self.test_plan_config,
|
|
{
|
|
"client_registration": "static_client",
|
|
"response_type": "code",
|
|
},
|
|
)
|