Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Startup Configure Method for Razor View for Azure AD integration using MSAL
app.UseEndpoints(endpoints =>
{
// Logout redirection does not work without this MVC route
endpoints.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
// Default razor endpoints
endpoints.MapRazorPages();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment