diff --git a/backend/social/okta.py b/backend/social/okta.py index d6fd3b2b..7568a2c7 100644 --- a/backend/social/okta.py +++ b/backend/social/okta.py @@ -1,6 +1,6 @@ +from allauth.socialaccount.providers.oauth2.client import OAuth2Client from allauth.socialaccount.providers.okta.views import OktaOAuth2Adapter from dj_rest_auth.registration.views import SocialLoginView -from allauth.socialaccount.providers.oauth2.client import OAuth2Client class OktaLogin(SocialLoginView): diff --git a/backend/social/views.py b/backend/social/views.py index 30804ebf..3c2549dc 100644 --- a/backend/social/views.py +++ b/backend/social/views.py @@ -1,6 +1,6 @@ +from django.conf import settings from rest_framework.response import Response from rest_framework.views import APIView -from django.conf import settings class Social(APIView):