diff --git a/backend/api/authentication/urls.py b/backend/api/authentication/urls.py index 12b7dae..e6b0ee4 100644 --- a/backend/api/authentication/urls.py +++ b/backend/api/authentication/urls.py @@ -3,6 +3,7 @@ from django.urls import path from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, + TokenBlacklistView, ) from api.authentication.views import LogoutView @@ -11,4 +12,5 @@ urlpatterns = [ path("logout/", LogoutView.as_view(), name="logout"), path("token/", TokenObtainPairView.as_view(), name="token_obtain_pair"), path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"), + path("token/blacklist/", TokenBlacklistView.as_view(), name="token_blacklist"), ]