-
Notifications
You must be signed in to change notification settings - Fork 10.3k
NavigationManager.NavigateToLogout() stuck on authentication/logout-callback #56732
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
@dean-azure thanks for contacting us. Can you provide more details?
|
Our provider is OKTA No errors are logged in the console. beta.commoditysolutions.stonex.com-1721069751141.log I've attached a the debug log output from edge in debug mode. |
@dean-azure thanks for the additional details. Unfortunately, we don't think you've setup the login level to debug correctly. There should be way more logs appearing on the console if that were the case. Ensure you set the log level for What might have happened is that the directive for Microsoft.AspNetCore has overridden the log level you might have setup. If for some reason setting it up in config doesn't work, set it on Program.cs too You should see logs that have [Microsoft.AspNetCore.Components.WebAssembly.Authentication] in the console when things are correctly setup. |
"Ensure you set the log level for Microsoft.AspNetCore.Components.WebAssembly.Authentication to debug." Where/how do I set this? |
Sorry, this I know how to do. I thought you were referring to a browser setting. I can do this later. Setting logging to debug brings the UI to a halt practically so I have to schedule. Will get it back to you within the next day or so. |
Sorry for the delay in getting this to you other production issues have kept me busy recently. :D |
Is there an existing issue for this?
Describe the bug
This task #53131
Is marked as closed but I am still experiencing a very similr issue.
In our deployed environments when the user logs out it navigates to /authentication/logout-callback
Displays:
Processing logout callback...
But I cannot replicate this locally. So when I run in localhost the logout works as expected. But, I cannot diagnose what the problem is locally since the deployed version has different behavior
Our project has the 8.x Microsoft.AspNetCore.Components.WebAssembly.Authentication library the service is configured to use .net 8
The problem persists.
Additionally, I looked at the session values, the user remains logged in.
Expected Behavior
The user should be fully logged out
Steps To Reproduce
Already described above
Exceptions (if any)
No response
.NET Version
8.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: