How to allow user to select if they want to login with Auth0 MFA or separate SAML provider (outside of Auth0)

Hello all,

I am attempting to allow two authentication types for my website:

  1. Authenticate via user id/password + mfa (through auth0)
  2. 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?

Cheers!

Anybody? :eyes:

I am also experiencing same issue, cant seem to be able to override the defaultcookieoptions for loginpath, logoutpath hmm