Forms Authentication alongside Microsoft Identity #2996
Unanswered
williambuchanan2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
I have an existing MVC app which uses forms authentication (basic username/password), and I want to add the ability to sign in using MicrosoftIdentityWebApp. The trouble I am having is that when I include this in the startup:
the user gets taken straight to the microsoft site automatically, and doesn't have the option to choose which sign in method they want.
Can anyone advise me on how to prevent this from happening?
What I need is for the user to continue to see the existing forms based login screen, and only be taken to the Microsoft authentication site if they choose to do so.
Full OWIN config below:
Also in web.config I have this setting:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions