简体   繁体   English

asp.net web 表格中的 SAML SSO

[英]SAML SSO in asp.net web form

I need to implement SAML SSO in a webb site based on web forms, can someone please show a example of how to that?我需要在基于 web forms 的网站中实现 SAML SSO,有人可以举个例子吗?

You need a SAML stack on your client.您的客户端需要一个SAML 堆栈

Some of the commercial clients have examples of this.一些商业客户有这方面的例子。

Basically:基本上:

  • Configure the client-side SAML parameters based on your IDP根据您的 IDP 配置客户端 SAML 参数
  • Have a form with a Login button有一个带有登录按钮的表单
  • When the button is clicked, use the stack to send an AuthnRequest单击按钮时,使用堆栈发送 AuthnRequest
  • This will trigger an IDP login form这将触发 IDP 登录表单
  • After the user has logged in, the IDP will return to your Assertion Consumer Endpoint with the SAML token用户登录后,IDP 将使用 SAML 令牌返回到您的断言消费者端点
  • Use the stack to extract the attributes you need使用堆栈提取您需要的属性

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM