We have a situation in SAML. We are the service providers and it is SP-initiated . we have 2 websites - landing SP website and actual SP website. Landing SP website just has a landing page , which will have link to actual SP website. Requirement is to have both landing SP website and actual SP website work with one IDP website( in most natural way, one can expect). So the following requirements should fulfill.
If user initiates requests for landing SP website and lets say, user was authenticated already then the user token should be validated when the user clicks on the link in landing SP website to Actual SP site. We can do custom coding for this but wanted to limit to SAML protocol setup. Please let me know how it can be done in SAML setup . What configuration can be done at IDP and Actual SP website to achieve this.
If user comes to actual SP website via landing SP website link, after being authenticated in IDP and he bookmarks the url of actual SP website. After signing out(session out) and then signing in again at IDP, how will the IDP send the user directly to actual SP website( when only landing SP website can be mentioned as SP in IDP). Is there any way to tell about this second IDP url(actual SP website) at IDP. I saw AsssertionConsumerURL and Audience in metadata as close match to deal with this problem but I see problem with both. AsssertionConsumerURL supports only one url and Audience requires condition, how will you compose condition for this case.