Last active
November 17, 2022 07:01
-
-
Save joe-oli/027de91c700524614592e633c559b3d8 to your computer and use it in GitHub Desktop.
Application Insights Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://learn.microsoft.com/en-us/azure/azure-monitor/app/ilogger | |
This helped me REDIRECT on Auth Failed! | |
https://github.com/dotnet/aspnetcore/issues/22596 | |
OnAuthenticationFailed = context => | |
{ | |
context.Response.Redirect("/Error"); | |
context.HandleResponse(); // Suppress the exception | |
return Task.CompletedTask; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment