Browse Source

fix lint issue

pull/2079/head
Clovin 2 years ago
parent
commit
1071f13b61
1 changed files with 3 additions and 3 deletions
  1. 6
      backend/social/views.py

6
backend/social/views.py

@ -15,8 +15,8 @@ class Social(APIView):
'redirect_path': '/social/complete/okta-oauth2',
'authorize_url':
'https://' + settings.SOCIALACCOUNT_PROVIDERS.get('okta').get('OKTA_BASE_URL')
+ '/oauth2/v1/authorize?response_type=code&client_id='
+ settings.SOCIALACCOUNT_PROVIDERS.get('okta').get('APP').get('client_id')
+ '&scope=openid&state=unknown&response_mode=form_post',
+ '/oauth2/v1/authorize?response_type=code&client_id='
+ settings.SOCIALACCOUNT_PROVIDERS.get('okta').get('APP').get('client_id')
+ '&scope=openid&state=unknown&response_mode=form_post',
} if settings.SOCIALACCOUNT_PROVIDERS.get('okta').get('OKTA_BASE_URL') else {},
})
Loading…
Cancel
Save