SiteRouter.Refresh Exception thrown after logging in with external oidc provider #4900
-
Hi, I am using an external oidc login provider which is working, although i have noticed Oqtane throws the following exception in SiteRouter.Refresh after the login completes: "Exception of type 'Microsoft.AspNetCore.Components.NavigationException' was thrown." This occurs on the following line: NavigationManager.NavigateTo(_absoluteUri.Replace("?reload=post", "").Replace("&reload=post", ""), true); Where the Uri is "http://localhost:44357/?reload=post" the code continues and Oqtane seems fine, just not sure if this would be causing any other issues down the line. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@Justincale This is a know issue with .net core. Have a look here. I am sure this will help you https://www.youtube.com/watch?v=1lsjpfdqBk0&t=2321s |
Beta Was this translation helpful? Give feedback.
-
As @leigh-pointer mentioned, this is not an issue. It only occurs in development when a debugger is attached to the process. You can safely ignore the exception in Visual Studio. |
Beta Was this translation helpful? Give feedback.
@Justincale This is a know issue with .net core. Have a look here. I am sure this will help you https://www.youtube.com/watch?v=1lsjpfdqBk0&t=2321s