django-rest-framework-jwt
django-rest-framework-jwt copied to clipboard
RefreshJSONWebToken endpoint problem
RefreshJSONWebToken endpoint does not extend the expiration_timestamp with respect to the JWT_REFRESH_EXPIRATION_DELTA. am i having only problem or what .??? token exp is extend with respect to JWT_EXPIRATION_DELTA rather than JWT_REFRESH_EXPIRATION_DELTA. please help out
I have the same issue. I have bellow configuration. I expect that after 30s the token expiration. The refresh token api can get a new token with in 7 days. But it was not worked as it.
'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=30), 'JWT_ALLOW_REFRESH': True, 'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(days=7),
{ "non_field_errors": [ "Signature has expired." ] }
This issue is fixed in PR https://github.com/GetBlimp/django-rest-framework-jwt/pull/348 however the project seems to be abandoned so it likely wont be merged.