How to sign-in to ADFS WIF federation AND Form auth on the same page with login (user/password) text-boxes?

StackOverflow https://stackoverflow.com/questions/22521112

Question

How to sign-in to ADFS WIF federation AND Form auth on the same page with login (user/password) text-boxes?

Now I can use a link to redirect to adfs login with a prompt box to input domain user name and password. Can I use the same (user/password) text-boxes as form auth? So I don't wanna use the prompt box?

ps: another question, how can i do to pass auth automatically when i login in the domain of which supplies the adfs without inputting(SSO) User and Pass?

Thanks!

Était-ce utile?

La solution

ADFS supports several ways of accepting user's credentials. The one with "prompt box" is most likely integrated or basic authentication. It is configurable on ADFS side: http://social.technet.microsoft.com/wiki/contents/articles/1600.ad-fs-2-0-how-to-change-the-local-authentication-type.aspx

If you need to configure forms authentication as a preferred option change in ADFS Web agent web.config order of local authentication types. Set Forms as a the first:

<microsoft.identityServer.web>
<localAuthenticationTypes>
  <add name="Forms" page="FormsSignIn.aspx" />
  <add name="Integrated" page="auth/integrated/" />
  <add name="TlsClient" page="auth/sslclient/" />
  <add name="Basic" page="auth/basic/" />
</localAuthenticationTypes>

Regarding the SSO, problem. It depends on browser:

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top