mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
refactor: implement automatic token refresh and credential support for auth API client
This commit is contained in:
@@ -66,7 +66,7 @@ class TokenGenerateView(TokenObtainPairView):
|
||||
|
||||
|
||||
class RefreshTokenView(TokenRefreshView):
|
||||
permission_classes = (permissions.IsAuthenticated,)
|
||||
permission_classes = (permissions.AllowAny,)
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
refresh_token = request.COOKIES.get(settings.SIMPLE_JWT["AUTH_COOKIE"])
|
||||
|
||||
Reference in New Issue
Block a user