DEV Community

Discussion on: Django Rest Framework custom JWT authentication

Collapse
 
yoyoo profile image
yoyoo

'Settings' object has no attribute 'REFRESH_TOKEN_SECRET'
Am getting the following error once I try to login what would I be doing the wrong way

Collapse
 
yoyoo profile image
yoyoo

By the way, Great article, keep up

Collapse
 
a_atalla profile image
Ahmed Atalla • Edited

you have to set it yourself in settings.py file

REFRESH_TOKEN_SECRET='you secret string'
Enter fullscreen mode Exit fullscreen mode