Skip to content

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

Open
@akshatprakash

Description

@akshatprakash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions