简体   繁体   English

如何使用登录(用户/密码)文本框在同一页面上登录ADFS WIF联合身份验证和表单身份验证?

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

How to sign-in to ADFS WIF federation AND Form auth on the same page with login (user/password) text-boxes? 如何使用登录(用户/密码)文本框在同一页面上登录ADFS WIF联合身份验证和表单身份验证?

Now I can use a link to redirect to adfs login with a prompt box to input domain user name and password. 现在,我可以使用一个链接来重定向到adfs登录,并在提示框中输入域用户名和密码。 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? ps:另一个问题,当我在不输入(SSO)用户和密码的情况下登录提供adfs的域时,如何自动通过身份验证?

Thanks! 谢谢!

ADFS supports several ways of accepting user's credentials. ADFS支持多种接受用户凭据的方式。 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 它可以在ADFS端进行配置: 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. 如果需要将表单身份验证配置为首选选项,请按本地身份验证类型的ADFS Web代理web.config顺序更改。 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. 关于SSO,问题。 It depends on browser: 这取决于浏览器:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以通过WIF客户端从客户端传递用户名和密码来登录ADFS联合身份验证? - Is it possible to sign in to ADFS federation with WIF client passing user name and password from client? 使用WIF应用程序退出ADFS2.0 - Sign out In ADFS2.0 with WIF application ADFS,WIF,WS Federation,SAML和STS之间有什么区别? - What's the difference between ADFS, WIF, WS Federation, SAML, and STS? 单点登录-为多个组织提供服务(ADFS和Form Auth混合使用) - Single sign on - service for multiple organizations (ADFS and Form Auth mixed) 在同一ASP.NET网站中进行表单身份验证和联合身份验证(单点登录+ ADFS 2.0 + SAML) - Forms authentication and Federation Authentication(Single Sign On + ADFS 2.0 + SAML) in Same ASP.NET Website Identity Server 3 - 无登录页面的静默登录/登录。 包括单点登录 - Identity Server 3 - Silent sign-in / sign in without login page. Including single sign on 如何验证用户是否已经登录到ADFS - how to verify if user already login to ADFS 使用Azure ADFS单一登录更改用户登录过程的顺序 - Change the order of user login process with Azure ADFS Single Sign On 如何使用ADFS绕过iOS应用中的ADFS登录页面来实现SSO - How to implement SSO using ADFS bypassing the ADFS login page in iOS app 从 Okta 登录中检索 Google Auth 令牌? - Retrieve Google Auth tokens from Okta sign-in?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM