stages/prompt: field name (#4497)
* add prompt field name Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove numerical prefix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix missing name Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use text field Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add description label Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add migrate blueprint to remove old stages Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add task to remove unretrievable blueprints Signed-off-by: Jens Langhammer <jens@goauthentik.io> * lint Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix blueprint test paths Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests even more Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix fixtures Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -26,8 +26,8 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_totp_validate(self):
 | 
			
		||||
        """test flow with otp stages"""
 | 
			
		||||
@ -52,10 +52,10 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint("default/20-flow-default-authenticator-totp-setup.yaml")
 | 
			
		||||
    @apply_blueprint("default/flow-default-authenticator-totp-setup.yaml")
 | 
			
		||||
    def test_totp_setup(self):
 | 
			
		||||
        """test TOTP Setup stage"""
 | 
			
		||||
        flow: Flow = Flow.objects.get(slug="default-authentication-flow")
 | 
			
		||||
@ -98,10 +98,10 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint("default/20-flow-default-authenticator-static-setup.yaml")
 | 
			
		||||
    @apply_blueprint("default/flow-default-authenticator-static-setup.yaml")
 | 
			
		||||
    def test_static_setup(self):
 | 
			
		||||
        """test Static OTP Setup stage"""
 | 
			
		||||
        flow: Flow = Flow.objects.get(slug="default-authentication-flow")
 | 
			
		||||
 | 
			
		||||
@ -41,19 +41,28 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_enroll_2_step(self):
 | 
			
		||||
        """Test 2-step enroll flow"""
 | 
			
		||||
        # First stage fields
 | 
			
		||||
        username_prompt = Prompt.objects.create(
 | 
			
		||||
            field_key="username", label="Username", order=0, type=FieldTypes.TEXT
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="username",
 | 
			
		||||
            label="Username",
 | 
			
		||||
            order=0,
 | 
			
		||||
            type=FieldTypes.TEXT,
 | 
			
		||||
        )
 | 
			
		||||
        password = Prompt.objects.create(
 | 
			
		||||
            field_key="password", label="Password", order=1, type=FieldTypes.PASSWORD
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="password",
 | 
			
		||||
            label="Password",
 | 
			
		||||
            order=1,
 | 
			
		||||
            type=FieldTypes.PASSWORD,
 | 
			
		||||
        )
 | 
			
		||||
        password_repeat = Prompt.objects.create(
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="password_repeat",
 | 
			
		||||
            label="Password (repeat)",
 | 
			
		||||
            order=2,
 | 
			
		||||
@ -62,10 +71,10 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
        # Second stage fields
 | 
			
		||||
        name_field = Prompt.objects.create(
 | 
			
		||||
            field_key="name", label="Name", order=0, type=FieldTypes.TEXT
 | 
			
		||||
            name=generate_id(), field_key="name", label="Name", order=0, type=FieldTypes.TEXT
 | 
			
		||||
        )
 | 
			
		||||
        email = Prompt.objects.create(
 | 
			
		||||
            field_key="email", label="E-Mail", order=1, type=FieldTypes.EMAIL
 | 
			
		||||
            name=generate_id(), field_key="email", label="E-Mail", order=1, type=FieldTypes.EMAIL
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        # Stages
 | 
			
		||||
@ -107,19 +116,28 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_enroll_email(self):
 | 
			
		||||
        """Test enroll with Email verification"""
 | 
			
		||||
        # First stage fields
 | 
			
		||||
        username_prompt = Prompt.objects.create(
 | 
			
		||||
            field_key="username", label="Username", order=0, type=FieldTypes.TEXT
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="username",
 | 
			
		||||
            label="Username",
 | 
			
		||||
            order=0,
 | 
			
		||||
            type=FieldTypes.TEXT,
 | 
			
		||||
        )
 | 
			
		||||
        password = Prompt.objects.create(
 | 
			
		||||
            field_key="password", label="Password", order=1, type=FieldTypes.PASSWORD
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="password",
 | 
			
		||||
            label="Password",
 | 
			
		||||
            order=1,
 | 
			
		||||
            type=FieldTypes.PASSWORD,
 | 
			
		||||
        )
 | 
			
		||||
        password_repeat = Prompt.objects.create(
 | 
			
		||||
            name=generate_id(),
 | 
			
		||||
            field_key="password_repeat",
 | 
			
		||||
            label="Password (repeat)",
 | 
			
		||||
            order=2,
 | 
			
		||||
@ -128,10 +146,10 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
        # Second stage fields
 | 
			
		||||
        name_field = Prompt.objects.create(
 | 
			
		||||
            field_key="name", label="Name", order=0, type=FieldTypes.TEXT
 | 
			
		||||
            name=generate_id(), field_key="name", label="Name", order=0, type=FieldTypes.TEXT
 | 
			
		||||
        )
 | 
			
		||||
        email = Prompt.objects.create(
 | 
			
		||||
            field_key="email", label="E-Mail", order=1, type=FieldTypes.EMAIL
 | 
			
		||||
            name=generate_id(), field_key="email", label="E-Mail", order=1, type=FieldTypes.EMAIL
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        # Stages
 | 
			
		||||
 | 
			
		||||
@ -12,8 +12,8 @@ class TestFlowsLogin(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_login(self):
 | 
			
		||||
        """test default login flow"""
 | 
			
		||||
 | 
			
		||||
@ -18,10 +18,10 @@ class TestFlowsStageSetup(SeleniumTestCase):
 | 
			
		||||
    """test stage setup flows"""
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint("default/0-flow-password-change.yaml")
 | 
			
		||||
    @apply_blueprint("default/flow-password-change.yaml")
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_password_change(self):
 | 
			
		||||
        """test password change flow"""
 | 
			
		||||
 | 
			
		||||
@ -81,8 +81,8 @@ class TestProviderLDAP(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_ldap_bind_success(self):
 | 
			
		||||
        """Test simple bind"""
 | 
			
		||||
@ -108,8 +108,8 @@ class TestProviderLDAP(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_ldap_bind_success_ssl(self):
 | 
			
		||||
        """Test simple bind with ssl"""
 | 
			
		||||
@ -135,8 +135,8 @@ class TestProviderLDAP(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_ldap_bind_fail(self):
 | 
			
		||||
        """Test simple bind (failed)"""
 | 
			
		||||
@ -160,8 +160,8 @@ class TestProviderLDAP(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_outposts")
 | 
			
		||||
    def test_ldap_bind_search(self):
 | 
			
		||||
 | 
			
		||||
@ -58,12 +58,12 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -114,12 +114,12 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -189,12 +189,12 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_denied(self):
 | 
			
		||||
 | 
			
		||||
@ -67,12 +67,12 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -116,12 +116,12 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -178,12 +178,12 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -249,12 +249,12 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -329,12 +329,12 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
 | 
			
		||||
@ -65,12 +65,12 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_redirect_uri_error(self):
 | 
			
		||||
@ -111,12 +111,12 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    @apply_blueprint("system/providers-oauth2.yaml")
 | 
			
		||||
@ -166,12 +166,12 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    @apply_blueprint("system/providers-oauth2.yaml")
 | 
			
		||||
@ -236,12 +236,12 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_authorization_denied(self):
 | 
			
		||||
 | 
			
		||||
@ -65,12 +65,12 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_redirect_uri_error(self):
 | 
			
		||||
@ -111,12 +111,12 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    @apply_blueprint("system/providers-oauth2.yaml")
 | 
			
		||||
@ -161,12 +161,12 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    @apply_blueprint("system/providers-oauth2.yaml")
 | 
			
		||||
@ -227,12 +227,12 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_authorization_denied(self):
 | 
			
		||||
 | 
			
		||||
@ -57,12 +57,12 @@ class TestProviderProxy(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -123,12 +123,12 @@ class TestProviderProxy(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-oauth2.yaml",
 | 
			
		||||
@ -200,12 +200,12 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @reconcile_app("authentik_crypto")
 | 
			
		||||
    def test_proxy_connectivity(self):
 | 
			
		||||
 | 
			
		||||
@ -64,12 +64,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
@ -133,12 +133,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
@ -217,12 +217,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
@ -301,12 +301,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
@ -376,12 +376,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
@ -425,12 +425,12 @@ class TestProviderSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "system/providers-saml.yaml",
 | 
			
		||||
 | 
			
		||||
@ -143,17 +143,17 @@ class TestSourceOAuth2(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/20-flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/20-flow-default-source-pre-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/flow-default-source-pre-authentication.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_oauth_enroll(self):
 | 
			
		||||
        """test OAuth Source With With OIDC"""
 | 
			
		||||
@ -200,12 +200,12 @@ class TestSourceOAuth2(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/20-flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-explicit-consent.yaml",
 | 
			
		||||
        "default/flow-default-provider-authorization-implicit-consent.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_oauth_enroll_auth(self):
 | 
			
		||||
        """test OAuth Source With With OIDC (enroll and authenticate again)"""
 | 
			
		||||
@ -292,13 +292,13 @@ class TestSourceOAuth1(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/20-flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/20-flow-default-source-pre-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/flow-default-source-pre-authentication.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_oauth_enroll(self):
 | 
			
		||||
        """test OAuth Source With With OIDC"""
 | 
			
		||||
 | 
			
		||||
@ -96,13 +96,13 @@ class TestSourceSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/20-flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/20-flow-default-source-pre-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/flow-default-source-pre-authentication.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_idp_redirect(self):
 | 
			
		||||
        """test SAML Source With redirect binding"""
 | 
			
		||||
@ -166,13 +166,13 @@ class TestSourceSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/20-flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/20-flow-default-source-pre-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/flow-default-source-pre-authentication.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_idp_post(self):
 | 
			
		||||
        """test SAML Source With post binding"""
 | 
			
		||||
@ -249,13 +249,13 @@ class TestSourceSAML(SeleniumTestCase):
 | 
			
		||||
 | 
			
		||||
    @retry()
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/10-flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/10-flow-default-invalidation-flow.yaml",
 | 
			
		||||
        "default/flow-default-authentication-flow.yaml",
 | 
			
		||||
        "default/flow-default-invalidation-flow.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    @apply_blueprint(
 | 
			
		||||
        "default/20-flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/20-flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/20-flow-default-source-pre-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-authentication.yaml",
 | 
			
		||||
        "default/flow-default-source-enrollment.yaml",
 | 
			
		||||
        "default/flow-default-source-pre-authentication.yaml",
 | 
			
		||||
    )
 | 
			
		||||
    def test_idp_post_auto(self):
 | 
			
		||||
        """test SAML Source With post binding (auto redirect)"""
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user