-
Notifications
You must be signed in to change notification settings - Fork 235
upgrade from 1.24.1 to 1.25.1 generates a lot of errors #2058
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
Comments
@Marusyk Did you have the issues moving to the latest 1.25.10? |
yes, I have, then I moved back for 1.25.1 however the 1.25.0 is also not working. |
the web api works and returns a response. I got all these logs after 1.24.1->1.25.1. Everything continues to work but just these errors appeared |
any updates? |
Tried to build an API with multiple authentication schemes (AAD and B2C) and getting a lot of error logs too. I followed the guide here. Instead of It looks like when having multiple Bearer authentication schemes, currently a token is validated for every scheme no matter what I do. This is also describe a bit more detailed here. IMHO this is a bug because even when using an What might be part of the problem is that I need both authentication schemes to be enabled at the same time in
If I only enable one or the other authentication scheme within |
I too am having the same problem, are there any updates on this one? |
Logging/exception handling improvements is happening in the lower level library: AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#2711 Should be available by October, and you should see a reduction in logs + perf improvement. Closing as the issue is outside IdWeb. |
How can you close this issue when it's clearly not resolved? You need to keep this open until this is resolved. There are incredibly many companies that are currently suppressing logs on a namespace level to avoid spamming error logs which are treated as incidents! |
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
1.25.1
Web app
Not Applicable
Web API
Protected web APIs (validating tokens)
Token cache serialization
In-memory caches
Description
With 1.24.1 everything worked well.
I have 3 different types of authN in my app
Shouldn't 1.25.1 be backward compatible with 1.24.1 according to SemVer?
Reproduction steps
Error message
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
at least runs without error because the version should be backward compatible
The text was updated successfully, but these errors were encountered: