Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from django.urls import path
|
||||
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
|
||||
|
||||
from apps.accounts.views import MeView, OTPRequestView, OTPVerifyView, RegisterView, SocialLoginPlaceholderView
|
||||
|
||||
urlpatterns = [
|
||||
path("register/", RegisterView.as_view(), name="register"),
|
||||
path("me/", MeView.as_view(), name="me"),
|
||||
path("token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
|
||||
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
||||
path("otp/request/", OTPRequestView.as_view(), name="otp_request"),
|
||||
path("otp/verify/", OTPVerifyView.as_view(), name="otp_verify"),
|
||||
path("social/<str:provider>/", SocialLoginPlaceholderView.as_view(), name="social_login"),
|
||||
]
|
||||
Reference in New Issue
Block a user