Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client does not automatically re-authenticate when token expires #4

Open
akshatprakash opened this issue Jul 25, 2019 · 1 comment
Open

Comments

@akshatprakash
Copy link

io.jsonwebtoken.ExpiredJwtException: JWT expired at 2019-07-24T01:41:46Z. Current time: 2019-07-24T03:58:47Z, a difference of 8221763 milliseconds. Allowed clock skew: 0 milliseconds.
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:411)
at com.sypht.SyphtClient.decodeTokenClaims(SyphtClient.java:204)
at com.sypht.SyphtClient.getBearerToken(SyphtClient.java:181)
at com.sypht.SyphtClient.createAuthorizedPost(SyphtClient.java:168)
at com.sypht.SyphtClient.performUpload(SyphtClient.java:124)
at com.sypht.SyphtClient.upload(SyphtClient.java:86)

in order to re-authenticate a new SyphtClient() object has to be assigned

@akshatprakash akshatprakash changed the title client does not re-authenticate when token expires client does not automatically re-authenticate when token expires Jul 25, 2019
@simonmittag
Copy link
Contributor

Could not reproduce this issue in the current version, tokens refresh fine here. Is this still a bug?

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

No branches or pull requests

2 participants