sources/oauth: fix openidconnect provider name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
294d70ae4d
commit
b003e8e1e8
|
@ -32,7 +32,7 @@ class TestTypeAzureAD(TestCase):
|
||||||
self.source = OAuthSource.objects.create(
|
self.source = OAuthSource.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
slug="test",
|
slug="test",
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="",
|
authorization_url="",
|
||||||
profile_url="",
|
profile_url="",
|
||||||
consumer_key="",
|
consumer_key="",
|
||||||
|
|
|
@ -25,7 +25,7 @@ class TestTypeDiscord(TestCase):
|
||||||
self.source = OAuthSource.objects.create(
|
self.source = OAuthSource.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
slug="test",
|
slug="test",
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="",
|
authorization_url="",
|
||||||
profile_url="",
|
profile_url="",
|
||||||
consumer_key="",
|
consumer_key="",
|
||||||
|
|
|
@ -55,7 +55,7 @@ class TestTypeGitHub(TestCase):
|
||||||
self.source = OAuthSource.objects.create(
|
self.source = OAuthSource.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
slug="test",
|
slug="test",
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="",
|
authorization_url="",
|
||||||
profile_url="",
|
profile_url="",
|
||||||
consumer_key="",
|
consumer_key="",
|
||||||
|
|
|
@ -96,7 +96,7 @@ class TestTypeGitHub(TestCase):
|
||||||
self.source = OAuthSource.objects.create(
|
self.source = OAuthSource.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
slug="test",
|
slug="test",
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="",
|
authorization_url="",
|
||||||
profile_url="",
|
profile_url="",
|
||||||
consumer_key="",
|
consumer_key="",
|
||||||
|
|
|
@ -13,7 +13,7 @@ class TestOAuthSource(TestCase):
|
||||||
self.source = OAuthSource.objects.create(
|
self.source = OAuthSource.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
slug="test",
|
slug="test",
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="",
|
authorization_url="",
|
||||||
profile_url="",
|
profile_url="",
|
||||||
consumer_key="",
|
consumer_key="",
|
||||||
|
|
|
@ -118,7 +118,7 @@ class TestSourceOAuth2(SeleniumTestCase):
|
||||||
slug="dex",
|
slug="dex",
|
||||||
authentication_flow=authentication_flow,
|
authentication_flow=authentication_flow,
|
||||||
enrollment_flow=enrollment_flow,
|
enrollment_flow=enrollment_flow,
|
||||||
provider_type="openid-connect",
|
provider_type="openidconnect",
|
||||||
authorization_url="http://127.0.0.1:5556/dex/auth",
|
authorization_url="http://127.0.0.1:5556/dex/auth",
|
||||||
access_token_url="http://127.0.0.1:5556/dex/token",
|
access_token_url="http://127.0.0.1:5556/dex/token",
|
||||||
profile_url="http://127.0.0.1:5556/dex/userinfo",
|
profile_url="http://127.0.0.1:5556/dex/userinfo",
|
||||||
|
|
Reference in New Issue