-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
MissingMethodException while HandleAuthenticateAsync in JwtBearerHandler #14252
Comments
@knoxi this primarily happens when mixing incompatible dependency versions. Please share your full dependency list. |
@Tratcher Here is the dependency list of the asp.net core application:
|
That's exact. That said, I'm surprised because:
|
I don't. @brentschmaltz will know. |
I'm wondering where you got Microsoft.IdentityModel.JsonWebTokens, v6.2.0-preview-60906195846 from. That is at this time internal only (not shipped for broader consumption). Can you use the latest v5? |
From the AzureAD MyGet feed.
Not without reintroducing horrible workarounds, since AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#1193 |
@PinpointTownes we have cherry-picked the fixes above into our nightlies and can release a new 5x version. We don't support 6.x yet, it's not ready for asp.net 3.0. |
@brentschmaltz I don't mind giving it a try, but where can I download the latest 5.x nightly build? |
@PinpointTownes also we are going to be releasing a new 5.x version within a week or two that will have the feature you are looking for. Our MyGet feed retention rules were only keeping the 6.x versions. I reset them and kicked off debug and release builds. If you have some small fixes, we may be able to get them into 5.x :-). |
Thanks, looks like
Being able to control the |
@brentschmaltz FYI, I opened a ticket to track useful improvements to @knoxi OpenIddict 3.0 alpha1 nightly builds targeting |
@knoxi @PinpointTownes our myget feed drops packages as we have last '15' packages retained. Just an FYI. |
@PinpointTownes thanks for the updated version, the MissingMethodException is now solved. |
@brentschmaltz any chance you could pin the |
@brentschmaltz looks like that version disappeared from MyGet. Please pin one of the |
Describe the bug
I get a MissingMethodException when validating a JWT token while accessing an API controller which needs authorization.
To Reproduce
Steps to reproduce the behavior:
services.AddJwtBearer()
Screenshots
The text was updated successfully, but these errors were encountered: