-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Make it simpler for customers to investigate Blazor Auth issues #39412
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
Thanks for contacting us. We're moving this issue to the |
I feel like even allowing setup of the oidc-client logger would help a lot. Currently I have a token endpoint returning a valid access_token and id_token but the UI simply says: "There was an error trying to log you in: ''", with nothing in the console or VS output window, really not sure how to investigate this further. |
Agree, |
Moving to the RC1 milestone, as @javiercn has some work on hand which is going to improve this. Let's close this issue when the related PRs get merged. |
We did add logging support on the JS libraries which covers this |
@javiercn Is there an example anywhere as to what we can configure? |
@oatsoda not yet, it was added in RC1 which has not been released yet. |
@javiercn will these logs show up as part of normal / default ASP.NET Core app logs, or is there any special configuration required to enable them? |
@javiercn ... Is there anything to document for 7.0 on this one? There's no cross-linked PR for me to research further. UPDATE (10/3):
Looks now like it was part of #43954. |
@guardrex turning the logging for Microsoft.AspNetCore.Components.WebAssembly.Authentication to debug or trace will log additional information on the browser console to help troubleshoot issues. |
There have been many issues customers run into, where it's hard to understand what is the underlying issue. Whether it's a configuration issue or framework issue. This issue will be used to track the work for simplifying such investigations.
The text was updated successfully, but these errors were encountered: