DEV Community

Aanandhi V B
Aanandhi V B

Posted on

Should I use sliding tokens or {access+refresh} tokens for JWT Authentication?

Hi,

I am using JWT for authentication in my mobile application and I am using the django JWT package called djangorestframework-simplejwt. In that I learnt (from the documentation: https://github.com/davesque/django-rest-framework-simplejwt) about sliding tokens and {access+refresh} tokens. So using which one of these would be the best practise?

Oldest comments (0)