tests/e2e: fix flow titles not being set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -27,6 +27,7 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    def test_totp_validate(self):
 | 
					    def test_totp_validate(self):
 | 
				
			||||||
        """test flow with otp stages"""
 | 
					        """test flow with otp stages"""
 | 
				
			||||||
        sleep(1)
 | 
					        sleep(1)
 | 
				
			||||||
@ -65,6 +66,7 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_stages_authenticator_totp", "0006_default_setup_flow")
 | 
					    @apply_migration("authentik_stages_authenticator_totp", "0006_default_setup_flow")
 | 
				
			||||||
    def test_totp_setup(self):
 | 
					    def test_totp_setup(self):
 | 
				
			||||||
        """test TOTP Setup stage"""
 | 
					        """test TOTP Setup stage"""
 | 
				
			||||||
@ -115,6 +117,7 @@ class TestFlowsAuthenticator(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_stages_authenticator_static", "0005_default_setup_flow")
 | 
					    @apply_migration("authentik_stages_authenticator_static", "0005_default_setup_flow")
 | 
				
			||||||
    def test_static_setup(self):
 | 
					    def test_static_setup(self):
 | 
				
			||||||
        """test Static OTP Setup stage"""
 | 
					        """test Static OTP Setup stage"""
 | 
				
			||||||
 | 
				
			|||||||
@ -40,6 +40,7 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    def test_enroll_2_step(self):
 | 
					    def test_enroll_2_step(self):
 | 
				
			||||||
        """Test 2-step enroll flow"""
 | 
					        """Test 2-step enroll flow"""
 | 
				
			||||||
        # First stage fields
 | 
					        # First stage fields
 | 
				
			||||||
@ -108,6 +109,7 @@ class TestFlowsEnroll(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @override_settings(EMAIL_BACKEND="django.core.mail.backends.smtp.EmailBackend")
 | 
					    @override_settings(EMAIL_BACKEND="django.core.mail.backends.smtp.EmailBackend")
 | 
				
			||||||
    def test_enroll_email(self):
 | 
					    def test_enroll_email(self):
 | 
				
			||||||
        """Test enroll with Email verification"""
 | 
					        """Test enroll with Email verification"""
 | 
				
			||||||
 | 
				
			|||||||
@ -12,6 +12,7 @@ class TestFlowsLogin(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    def test_login(self):
 | 
					    def test_login(self):
 | 
				
			||||||
        """test default login flow"""
 | 
					        """test default login flow"""
 | 
				
			||||||
        self.driver.get(
 | 
					        self.driver.get(
 | 
				
			||||||
 | 
				
			|||||||
@ -19,6 +19,7 @@ class TestFlowsStageSetup(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_stages_password", "0002_passwordstage_change_flow")
 | 
					    @apply_migration("authentik_stages_password", "0002_passwordstage_change_flow")
 | 
				
			||||||
    def test_password_change(self):
 | 
					    def test_password_change(self):
 | 
				
			||||||
        """test password change flow"""
 | 
					        """test password change flow"""
 | 
				
			||||||
 | 
				
			|||||||
@ -63,6 +63,7 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_authorization_consent_implied(self):
 | 
					    def test_authorization_consent_implied(self):
 | 
				
			||||||
@ -117,6 +118,7 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_authorization_consent_explicit(self):
 | 
					    def test_authorization_consent_explicit(self):
 | 
				
			||||||
@ -194,6 +196,7 @@ class TestProviderOAuth2Github(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_denied(self):
 | 
					    def test_denied(self):
 | 
				
			||||||
 | 
				
			|||||||
@ -83,6 +83,7 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_redirect_uri_error(self):
 | 
					    def test_redirect_uri_error(self):
 | 
				
			||||||
@ -124,6 +125,7 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -186,6 +188,7 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -256,6 +259,7 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -337,6 +341,7 @@ class TestProviderOAuth2OAuth(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_authorization_denied(self):
 | 
					    def test_authorization_denied(self):
 | 
				
			||||||
 | 
				
			|||||||
@ -78,6 +78,7 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_redirect_uri_error(self):
 | 
					    def test_redirect_uri_error(self):
 | 
				
			||||||
@ -119,6 +120,7 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -168,6 +170,7 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -234,6 +237,7 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_authorization_denied(self):
 | 
					    def test_authorization_denied(self):
 | 
				
			||||||
 | 
				
			|||||||
@ -78,6 +78,7 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_redirect_uri_error(self):
 | 
					    def test_redirect_uri_error(self):
 | 
				
			||||||
@ -119,6 +120,7 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -165,6 +167,7 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -228,6 +231,7 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    def test_authorization_denied(self):
 | 
					    def test_authorization_denied(self):
 | 
				
			||||||
 | 
				
			|||||||
@ -60,6 +60,7 @@ class TestProviderProxy(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -112,6 +113,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
 | 
				
			|||||||
@ -74,6 +74,7 @@ class TestProviderSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -138,6 +139,7 @@ class TestProviderSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -219,6 +221,7 @@ class TestProviderSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -289,6 +292,7 @@ class TestProviderSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
					    @apply_migration("authentik_flows", "0010_provider_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
 | 
				
			|||||||
@ -131,6 +131,7 @@ class TestSourceOAuth2(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -188,6 +189,7 @@ class TestSourceOAuth2(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -228,6 +230,7 @@ class TestSourceOAuth2(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @object_manager
 | 
					    @object_manager
 | 
				
			||||||
@ -318,6 +321,7 @@ class TestSourceOAuth1(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @patch(
 | 
					    @patch(
 | 
				
			||||||
 | 
				
			|||||||
@ -98,6 +98,7 @@ class TestSourceSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @apply_migration(
 | 
					    @apply_migration(
 | 
				
			||||||
@ -166,6 +167,7 @@ class TestSourceSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @apply_migration(
 | 
					    @apply_migration(
 | 
				
			||||||
@ -247,6 +249,7 @@ class TestSourceSAML(SeleniumTestCase):
 | 
				
			|||||||
    @retry()
 | 
					    @retry()
 | 
				
			||||||
    @apply_migration("authentik_core", "0003_default_user")
 | 
					    @apply_migration("authentik_core", "0003_default_user")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0008_default_flows")
 | 
					    @apply_migration("authentik_flows", "0008_default_flows")
 | 
				
			||||||
 | 
					    @apply_migration("authentik_flows", "0011_flow_title")
 | 
				
			||||||
    @apply_migration("authentik_flows", "0009_source_flows")
 | 
					    @apply_migration("authentik_flows", "0009_source_flows")
 | 
				
			||||||
    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
					    @apply_migration("authentik_crypto", "0002_create_self_signed_kp")
 | 
				
			||||||
    @apply_migration(
 | 
					    @apply_migration(
 | 
				
			||||||
 | 
				
			|||||||
@ -103,7 +103,7 @@ export class FlowExecutor extends LitElement implements StageHost {
 | 
				
			|||||||
        return new FlowsApi(DEFAULT_CONFIG).flowsExecutorSolve({
 | 
					        return new FlowsApi(DEFAULT_CONFIG).flowsExecutorSolve({
 | 
				
			||||||
            flowSlug: this.flowSlug,
 | 
					            flowSlug: this.flowSlug,
 | 
				
			||||||
            query: window.location.search.substring(1),
 | 
					            query: window.location.search.substring(1),
 | 
				
			||||||
            flowChallengeResponseRequest: payload as FlowChallengeResponseRequest,
 | 
					            flowChallengeResponseRequest: payload,
 | 
				
			||||||
        }).then((data) => {
 | 
					        }).then((data) => {
 | 
				
			||||||
            this.challenge = data;
 | 
					            this.challenge = data;
 | 
				
			||||||
            this.postUpdate();
 | 
					            this.postUpdate();
 | 
				
			||||||
@ -184,35 +184,35 @@ export class FlowExecutor extends LitElement implements StageHost {
 | 
				
			|||||||
            case ChallengeChoices.Native:
 | 
					            case ChallengeChoices.Native:
 | 
				
			||||||
                switch (this.challenge.component) {
 | 
					                switch (this.challenge.component) {
 | 
				
			||||||
                    case "ak-stage-access-denied":
 | 
					                    case "ak-stage-access-denied":
 | 
				
			||||||
                        return html`<ak-stage-access-denied .host=${this} .challenge=${this.challenge}></ak-stage-access-denied>`;
 | 
					                        return html`<ak-stage-access-denied .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-access-denied>`;
 | 
				
			||||||
                    case "ak-stage-identification":
 | 
					                    case "ak-stage-identification":
 | 
				
			||||||
                        return html`<ak-stage-identification .host=${this} .challenge=${this.challenge}></ak-stage-identification>`;
 | 
					                        return html`<ak-stage-identification .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-identification>`;
 | 
				
			||||||
                    case "ak-stage-password":
 | 
					                    case "ak-stage-password":
 | 
				
			||||||
                        return html`<ak-stage-password .host=${this} .challenge=${this.challenge}></ak-stage-password>`;
 | 
					                        return html`<ak-stage-password .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-password>`;
 | 
				
			||||||
                    case "ak-stage-captcha":
 | 
					                    case "ak-stage-captcha":
 | 
				
			||||||
                        return html`<ak-stage-captcha .host=${this} .challenge=${this.challenge}></ak-stage-captcha>`;
 | 
					                        return html`<ak-stage-captcha .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-captcha>`;
 | 
				
			||||||
                    case "ak-stage-consent":
 | 
					                    case "ak-stage-consent":
 | 
				
			||||||
                        return html`<ak-stage-consent .host=${this} .challenge=${this.challenge}></ak-stage-consent>`;
 | 
					                        return html`<ak-stage-consent .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-consent>`;
 | 
				
			||||||
                    case "ak-stage-dummy":
 | 
					                    case "ak-stage-dummy":
 | 
				
			||||||
                        return html`<ak-stage-dummy .host=${this} .challenge=${this.challenge}></ak-stage-dummy>`;
 | 
					                        return html`<ak-stage-dummy .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-dummy>`;
 | 
				
			||||||
                    case "ak-stage-email":
 | 
					                    case "ak-stage-email":
 | 
				
			||||||
                        return html`<ak-stage-email .host=${this} .challenge=${this.challenge}></ak-stage-email>`;
 | 
					                        return html`<ak-stage-email .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-email>`;
 | 
				
			||||||
                    case "ak-stage-autosubmit":
 | 
					                    case "ak-stage-autosubmit":
 | 
				
			||||||
                        return html`<ak-stage-autosubmit .host=${this} .challenge=${this.challenge}></ak-stage-autosubmit>`;
 | 
					                        return html`<ak-stage-autosubmit .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-autosubmit>`;
 | 
				
			||||||
                    case "ak-stage-prompt":
 | 
					                    case "ak-stage-prompt":
 | 
				
			||||||
                        return html`<ak-stage-prompt .host=${this} .challenge=${this.challenge}></ak-stage-prompt>`;
 | 
					                        return html`<ak-stage-prompt .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-prompt>`;
 | 
				
			||||||
                    case "ak-stage-authenticator-totp":
 | 
					                    case "ak-stage-authenticator-totp":
 | 
				
			||||||
                        return html`<ak-stage-authenticator-totp .host=${this} .challenge=${this.challenge}></ak-stage-authenticator-totp>`;
 | 
					                        return html`<ak-stage-authenticator-totp .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-authenticator-totp>`;
 | 
				
			||||||
                    case "ak-stage-authenticator-duo":
 | 
					                    case "ak-stage-authenticator-duo":
 | 
				
			||||||
                        return html`<ak-stage-authenticator-duo .host=${this} .challenge=${this.challenge}></ak-stage-authenticator-duo>`;
 | 
					                        return html`<ak-stage-authenticator-duo .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-authenticator-duo>`;
 | 
				
			||||||
                    case "ak-stage-authenticator-static":
 | 
					                    case "ak-stage-authenticator-static":
 | 
				
			||||||
                        return html`<ak-stage-authenticator-static .host=${this} .challenge=${this.challenge}></ak-stage-authenticator-static>`;
 | 
					                        return html`<ak-stage-authenticator-static .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-authenticator-static>`;
 | 
				
			||||||
                    case "ak-stage-authenticator-webauthn":
 | 
					                    case "ak-stage-authenticator-webauthn":
 | 
				
			||||||
                        return html`<ak-stage-authenticator-webauthn .host=${this} .challenge=${this.challenge}></ak-stage-authenticator-webauthn>`;
 | 
					                        return html`<ak-stage-authenticator-webauthn .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-authenticator-webauthn>`;
 | 
				
			||||||
                    case "ak-stage-authenticator-validate":
 | 
					                    case "ak-stage-authenticator-validate":
 | 
				
			||||||
                        return html`<ak-stage-authenticator-validate .host=${this} .challenge=${this.challenge}></ak-stage-authenticator-validate>`;
 | 
					                        return html`<ak-stage-authenticator-validate .host=${this as StageHost} .challenge=${this.challenge}></ak-stage-authenticator-validate>`;
 | 
				
			||||||
                    case "ak-flow-sources-plex":
 | 
					                    case "ak-flow-sources-plex":
 | 
				
			||||||
                        return html`<ak-flow-sources-plex .host=${this} .challenge=${this.challenge}></ak-flow-sources-plex>`;
 | 
					                        return html`<ak-flow-sources-plex .host=${this as StageHost} .challenge=${this.challenge}></ak-flow-sources-plex>`;
 | 
				
			||||||
                    default:
 | 
					                    default:
 | 
				
			||||||
                        break;
 | 
					                        break;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
				
			|||||||
@ -41,7 +41,7 @@ export class UserSettingsPage extends LitElement {
 | 
				
			|||||||
                return html`<ak-user-settings-authenticator-webauthn objectId=${stage.objectUid} ?configureFlow=${stage.configureFlow}>
 | 
					                return html`<ak-user-settings-authenticator-webauthn objectId=${stage.objectUid} ?configureFlow=${stage.configureFlow}>
 | 
				
			||||||
                </ak-user-settings-authenticator-webauthn>`;
 | 
					                </ak-user-settings-authenticator-webauthn>`;
 | 
				
			||||||
            case "ak-user-settings-password":
 | 
					            case "ak-user-settings-password":
 | 
				
			||||||
                return html`<ak-user-settings-password objectId=${stage.objectUid} ?configureFlow=${stage.configureFlow}>
 | 
					                return html`<ak-user-settings-password objectId=${stage.objectUid}>
 | 
				
			||||||
                </ak-user-settings-password>`;
 | 
					                </ak-user-settings-password>`;
 | 
				
			||||||
            case "ak-user-settings-authenticator-totp":
 | 
					            case "ak-user-settings-authenticator-totp":
 | 
				
			||||||
                return html`<ak-user-settings-authenticator-totp objectId=${stage.objectUid} ?configureFlow=${stage.configureFlow}>
 | 
					                return html`<ak-user-settings-authenticator-totp objectId=${stage.objectUid} ?configureFlow=${stage.configureFlow}>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user