@ -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
class OktaLogin(SocialLoginView):
from django.conf import settings
from rest_framework.response import Response
from rest_framework.views import APIView
class Social(APIView):