I am implementing SSO where I am the Identity Provider, right now I am able to successfully log into the Service Provider. But it takes me to the home page. I want to specify the landing page URL when I post the response. Have searched quite a lot but could not find anything convincing. Do not quite know which element of the SAML response carries the Landing page URL or is the in the form that I have to specify. Using java and opensaml libraries to generate the response.
相关问题
- Spring Boot + Ldap / AD + Kerberos SSO : KrbCrypto
- socialauth - can you use same session across a red
- Identity Server 4 Infinite Loop
- Integrating Java Web App with SAML SSO
- OAuth2 based SSO
相关文章
- Retrieve Attributes and NameID from a SAML Respons
- isSessionValid() returns NO when Facebook native a
- SAML SSO Authentication with Django REST Framework
- CAS 4.2 get LDAP attributes
- SSO, the unknown [closed]
- New SSO for Custom Tab in Microsoft Teams [closed]
- SSO using Identity Server with SAML 2 with other I
- AWS Cognito - create groups from ADFS as Cognito G
Though it is not in the SAML specs, a de-facto standard is to use the
RelayState
element for that. It is added as a parameter in the response in addition to theSAMLResponse
parameter and value of thelanding
URL. Sample HTML page from http://en.wikipedia.org/wiki/SAML_2.0 for an IDP using thePOST
binding for the response:Edit:
Just to be clear, the
RelayState
parameter declaration is part of the specs and it is included to allow for passing arbitrary state between SP and IDP. Using it for passing a URL that defines the landing page is not defined in the spec but is de-facto standard usage. Any usage ofRelayState
in IDP-init-SSO would depend on a pair-wise agreement between IDP and SP and this is just an agreement that makes sense, is useful and thus has been widely adopted.