-
Notifications
You must be signed in to change notification settings - Fork 417
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
[Bug] Method not found Exception when reading JWT token (Base64UrlEncoder.UnsafeDecode) #2577
Comments
Hey @pmaytak, |
hi @JFFby I am not able to reproduce this. Can you confirm that this doesn't repro on a clean new app? |
Same error. Is there any news on this thread? |
The error fixed by removing "Microsoft.IdentityModel.Tokens" packet. |
Thank you, it also worked for me by removing "Microsoft.IdentityModel.Tokens" packet. |
Another issue with mismatched versions |
Fixed by updating IdentityModel packages in the HttpApi.Host project as described here. |
Removing the packet also fixed it for me. Thanks! |
Literally just found this, also. The packet apparently has some extension with a bug in it. |
Which version of Microsoft.IdentityModel are you using?
7.5.1
Where is the issue?
Is this a new or an existing app?
Repro
I am just trying to add JWT authentication to the existed app
Expected behavior
Acess token successfully validated
Actual behavior
A clear and concise description of what happens, e.g. an exception is thrown, UI freezes.
Possible solution
I am getting exception:
Which has inner one with message:
With call stack:
Additional context / logs / screenshots / links to code
I double checked all dependencies, and they look good for me.
The text was updated successfully, but these errors were encountered: