mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-09 07:05:18 +02:00
bugfix: use provider_id
This should be the provider_id and not the client_id
This commit is contained in:
parent
5b42e8b372
commit
10cd755b84
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ class EnabledSocialProvidersView(APIView):
|
||||||
providers = []
|
providers = []
|
||||||
for provider in social_providers:
|
for provider in social_providers:
|
||||||
if provider.provider == 'openid_connect':
|
if provider.provider == 'openid_connect':
|
||||||
new_provider = f'oidc/{provider.client_id}'
|
new_provider = f'oidc/{provider.provider_id}'
|
||||||
else:
|
else:
|
||||||
new_provider = provider.provider
|
new_provider = provider.provider
|
||||||
providers.append({
|
providers.append({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue