diff --git a/authentik/sources/oauth/tests/test_type_azure_ad.py b/authentik/sources/oauth/tests/test_type_azure_ad.py index b2d8b9f5f..a94f9fe03 100644 --- a/authentik/sources/oauth/tests/test_type_azure_ad.py +++ b/authentik/sources/oauth/tests/test_type_azure_ad.py @@ -32,7 +32,7 @@ class TestTypeAzureAD(TestCase): self.source = OAuthSource.objects.create( name="test", slug="test", - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="", profile_url="", consumer_key="", diff --git a/authentik/sources/oauth/tests/test_type_discord.py b/authentik/sources/oauth/tests/test_type_discord.py index 86340afed..c3aa56efc 100644 --- a/authentik/sources/oauth/tests/test_type_discord.py +++ b/authentik/sources/oauth/tests/test_type_discord.py @@ -25,7 +25,7 @@ class TestTypeDiscord(TestCase): self.source = OAuthSource.objects.create( name="test", slug="test", - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="", profile_url="", consumer_key="", diff --git a/authentik/sources/oauth/tests/test_type_github.py b/authentik/sources/oauth/tests/test_type_github.py index 50a699b9c..2ff26c846 100644 --- a/authentik/sources/oauth/tests/test_type_github.py +++ b/authentik/sources/oauth/tests/test_type_github.py @@ -55,7 +55,7 @@ class TestTypeGitHub(TestCase): self.source = OAuthSource.objects.create( name="test", slug="test", - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="", profile_url="", consumer_key="", diff --git a/authentik/sources/oauth/tests/test_type_twitter.py b/authentik/sources/oauth/tests/test_type_twitter.py index 84fdd0f80..2d8944d98 100644 --- a/authentik/sources/oauth/tests/test_type_twitter.py +++ b/authentik/sources/oauth/tests/test_type_twitter.py @@ -96,7 +96,7 @@ class TestTypeGitHub(TestCase): self.source = OAuthSource.objects.create( name="test", slug="test", - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="", profile_url="", consumer_key="", diff --git a/authentik/sources/oauth/tests/test_views.py b/authentik/sources/oauth/tests/test_views.py index a979bdfa2..b38634682 100644 --- a/authentik/sources/oauth/tests/test_views.py +++ b/authentik/sources/oauth/tests/test_views.py @@ -13,7 +13,7 @@ class TestOAuthSource(TestCase): self.source = OAuthSource.objects.create( name="test", slug="test", - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="", profile_url="", consumer_key="", diff --git a/tests/e2e/test_source_oauth.py b/tests/e2e/test_source_oauth.py index e32b8853b..cd5b15919 100644 --- a/tests/e2e/test_source_oauth.py +++ b/tests/e2e/test_source_oauth.py @@ -118,7 +118,7 @@ class TestSourceOAuth2(SeleniumTestCase): slug="dex", authentication_flow=authentication_flow, enrollment_flow=enrollment_flow, - provider_type="openid-connect", + provider_type="openidconnect", authorization_url="http://127.0.0.1:5556/dex/auth", access_token_url="http://127.0.0.1:5556/dex/token", profile_url="http://127.0.0.1:5556/dex/userinfo",