Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

RefreshJSONWebToken endpoint problem #442

Open
sbishnu019 opened this issue Jun 1, 2018 · 2 comments
Open

RefreshJSONWebToken endpoint problem #442

sbishnu019 opened this issue Jun 1, 2018 · 2 comments

Comments

@sbishnu019
Copy link

sbishnu019 commented Jun 1, 2018

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

@daminli
Copy link

daminli commented Jun 21, 2018

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." ] }

@sphrak
Copy link

sphrak commented Jun 23, 2018

This issue is fixed in PR #348 however the project seems to be abandoned so it likely wont be merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants