#Django Rest Framework with jwt token
1 messages · Page 1 of 1 (latest)
is i only have one token
or
i have access_token and refresh_token for better safety?
ah and ill use the api in discord bot .
Since I haven't used the drf builtin authtoken, I read the docs and searched for information.
And I think below link can be helpful for your decision.
https://stackoverflow.com/questions/31600497/django-drf-token-based-authentication-vs-json-web-token?source=post_page-----e54c3ed2420c--------------------------------
I think you should have access and refresh
And no need to implement it yourself
This is great