From dded1ecabc9d29b49620301e0e4c9a481ca6c934 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Mon, 30 Jun 2025 15:58:24 +0200 Subject: [PATCH] Add: setup new blacklist token api auth enpoint route --- backend/api/authentication/urls.py | 2 ++ 1 file changed, 2 insertions(+) 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"), ]