1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-08 14:45:17 +02:00

update oidc button from client_id to provider_id

This commit is contained in:
Mark Bluhm 2025-05-20 03:08:06 -07:00
parent 5f19670ed9
commit d2c4efa44b

View file

@ -165,7 +165,7 @@ class EnabledSocialProvidersView(APIView):
providers = []
for provider in social_providers:
if provider.provider == 'openid_connect':
new_provider = f'oidc/{provider.client_id}'
new_provider = f'oidc/{provider.provider_id}'
else:
new_provider = provider.provider
providers.append({