I am attempting to allow two authentication types for my website:
- Authenticate via user id/password + mfa (through auth0)
- Authenticate via SAML through non-Auth0 SAML library
I’m having issues where my [Authorize] tag on my controller is sending the user to /account/login no matter how I try to customize loginpath properties, or any of the URLs in the Auth0 application settings.
I was envisioning having an intermediate login page (/Account/SelectAuth) where I user is presented with the two options, when they choose one, I redirect them to the proper location to continue that type of authentication.
Any advice on this or am I going about this in a funky way?