From b003e8e1e840663196e2339934ceefd67344eeb8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 21 Aug 2021 18:36:06 +0200 Subject: [PATCH] sources/oauth: fix openidconnect provider name Signed-off-by: Jens Langhammer --- authentik/sources/oauth/tests/test_type_azure_ad.py | 2 +- authentik/sources/oauth/tests/test_type_discord.py | 2 +- authentik/sources/oauth/tests/test_type_github.py | 2 +- authentik/sources/oauth/tests/test_type_twitter.py | 2 +- authentik/sources/oauth/tests/test_views.py | 2 +- tests/e2e/test_source_oauth.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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",