AD FS and forms Authentication

2019-07-30 13:32发布

We have an Asp.Net website project which uses Forms Authentication. We have been asked to connect to some proxy servers using AD FS to authenticate by one of our clients. I am very new to AD FS and I have a questions.

Authenticate using AD FS is possible only with claims-enabled ASP.NET application or is there a work around to use this with Forms Authentication?

1条回答
唯我独甜
2楼-- · 2019-07-30 14:18

This tutorial shows how you can authenticate using ADFS with only a few dozen lines of code.

http://www.wiktorzychla.com/2014/11/simplest-saml11-federated-authentication.html

Note the exact moment the SAML token is validated and accepted. In my tutorial I issue the claims identity but you can easily put your forms identity there.

This is because consuming claim/saml token is completely independent of how you later establish a local session.

查看更多
登录 后发表回答