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

When add invalid token and then add a valid token on first request it throws 500 internal server error. with exception com.nimbusds.jose.proc.BadJWSException: Signed JWT rejected: Invalid signature #22

Open
HamzaShahidAli opened this issue Oct 3, 2019 · 0 comments

Comments

@HamzaShahidAli
Copy link

HamzaShahidAli commented Oct 3, 2019

When add invalid token and then add a valid token on first request it throws 500 internal server error. with exception com.nimbusds.jose.proc.BadJWSException: Signed JWT rejected: Invalid signature
On Class AwsCognitoIdTokenProcessor
claimsSet = configurableJWTProcessor.process(stripBearerToken(idToken), null);

How to fix this issue.
But when send second request with the same token without changing any thing it work perfectly.
What i observe is the issue came due to when 1st request is processing with valid token after using the invalid token it process once old token with new token, but i dont know how to stop doing this.

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

1 participant