diff --git a/backend/social/views.py b/backend/social/views.py index ec275089..30804ebf 100644 --- a/backend/social/views.py +++ b/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 {}, })