简体   繁体   English

SAML SSO 不确定用户如何访问受 IDP 发起的 SAML 的受保护 SP 页面

[英]SAML SSO Unsure how a user gets to the protected SP page for IDP initiated SAML

I currently maintain an in-house SAML IDP written utilising LightSaml.我目前维护一个使用 LightSaml 编写的内部 SAML IDP。 This has served the company well for the last 2 years working with SP initiated SSO.在与 SP 发起的 SSO 合作的过去 2 年中,这为公司提供了良好的服务。 I have recently been tasked with implementing IDP initiated SSO and I'm not able to work out how the user is automatically redirected to the desired protected page once they're authenticated.我最近的任务是实施 IDP 发起的 SSO,但我无法弄清楚用户在通过身份验证后如何自动重定向到所需的受保护页面。

In SP initiated SSO, the user starts at the page they want, therefore the SP knows where they want to end up after being authenticated.在 SP 发起的 SSO 中,用户从他们想要的页面开始,因此 SP 在通过身份验证后知道他们想要结束的位置。 So in this case, the SP handles the final redirection.所以在这种情况下,SP 处理最终的重定向。

In IDP initiated SSO, the SP doesn't actually know what protected page the user wants, so could someone explain what happens after the IDP sends the auth response to the SP?在 IDP 发起的 SSO 中,SP 实际上并不知道用户想要什么受保护的页面,所以有人可以解释 IDP 向 SP 发送身份验证响应后会发生什么吗?

Thanks in advance.提前致谢。

In IdP-initiated SSO, along with the SAML response, the IdP can send relay state.在 IdP 发起的 SSO 中,连同 SAML 响应,IdP 可以发送中继 state。 This relay state is the URL the SP should redirect to once SSO completes.此继电器 state 是 SSO 完成后 SP 应重定向到的 URL。 If no relay state is sent, the SP will most likely redirect to some default page.如果没有发送中继 state,SP 很可能会重定向到某个默认页面。

A typical scenario is that the IdP has a portal page with one or more links representing different pages at the SP.一个典型的场景是 IdP 有一个门户页面,其中一个或多个链接代表 SP 的不同页面。 If the user clicks link #1, the IdP initiates SSO to the SP and sets the relay state to the page #1 URL.如果用户单击链接 #1,IdP 会向 SP 发起 SSO,并将继电器 state 设置为页面 #1 URL。 If the user clicks link #2, the IdP initiates SSO to the SP and sets the relay state to the page #2 URL.如果用户单击链接 #2,IdP 会向 SP 发起 SSO,并将继电器 state 设置为页面 #2 URL。

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

相关问题 SP启动的SSO和IDP启动的SSO之间的SAML响应差异 - SAML reponse difference between SP initiated SSO and IDP initiated SSO sp启动saml sso身份验证 - sp initiated saml sso authentication 如何使用SAML2防止IDP启动的SSO中的重放攻击 - How to prevent replay attack in IDP initiated SSO using SAML2 如何使用PHP从IDP发起的SSO处理SAML? - How to process SAML from idp initiated SSO using PHP? 如何在Identity Provider(IdP)中维护状态参数启动SAML sso? - How to maintain state parameter in Identity Provider (IdP) initiated SAML sso? IDP为Spring SAML扩展启动了SSO - IDP initiated SSO for Spring SAML Extension SAML 和 SP 发起的 SSO 如何表示失败的登录尝试? - How is a failed login attempt represented with SAML with SP-initiated SSO? SP 发起的 SAML SSO 的实际流程,包括所有组件,即 IDP、SP 客户端和 SP 服务器端 - Actual flow of SP initiated SAML SSO that includes all the components ie IDP, SP client side and SP server side SAML2:SP发起的Web-SSO szenario是否在运行请求的SP所在的域中需要一个IdP - SAML2: Does a SP initiated web-SSO szenario requires an IdP in the same domain where the requested SP running 使用JAVA和SAML 2.0的IdP启动的Web SSO配置文件 - IdP-Initiated Web SSO Profile using JAVA and SAML 2.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM