You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I got HTTP 401 error after setting up authentication as per the README.md instructions.
IDX10506: Signature validation failed. The user defined 'Delegate' specified on TokenValidationParameters did not return a 'Microsoft.IdentityModel.JsonWebTokens.JsonWebToken', but returned a 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken' when validating token
@karamem0 The next push to this repo includes a number of changes around JWT token authentication. The version in main is not validating the signature properly at all. The next version will contains a Microsoft compliant way of handling it.
Version
What package version of the SDK are you using.
Describe the bug
I got HTTP 401 error after setting up authentication as per the README.md instructions.
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/securitytoken-events
To Reproduce
AddMicrosoftIdentityWebApiAuthentication
.Expected behavior
AddJwtBearer
should return insteadJsonWebToken
ofJwtSecurityToken
.Screenshots
N/A
Hosting Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: