Java SDK error on JWT response
Hi,
Im getting the following response from the jwtResponse
{"error":"invalid_grant","error_description":"Current date\/time MUST be before the expiration date\/time listed in the 'exp' claim"}
Could anyone help me with this, Im using jose4j java library to create the jwtAssertion
Regards.
-
Hello! Make sure the time used in your code is in sync with epoch time. This is the most common cause of the error. Online resource like http://www.epochconverter.com/ can help you verify that your server time is correct.
Please sign in to leave a comment.
Comments
1 comment