<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I have the following use case :</div><div>1. An email is send to an end user. It contains an url to connect to a web application. The url contains a token. So suppose the domain of the web application is <a href="http://sp.example.com">sp.example.com</a>, the url might look like : <a href="https://sp.example.com/ABCDEFGHIJKL">https://sp.example.com/ABCDEFGHIJKL</a></div><div><br></div><div><a href="http://sp.example.com">sp.example.com</a> is a Service Provider using SAML with Spring SAML. <br></div><div><br></div><div><a href="http://id.example.com">id.example.com</a> is an instance of Shibboleth IDP 3.</div><br><div>2. When the end user click on the url, he enters the SAML Authentication process and he is redirected to the IDP. But he may not have an account. So there is a link on the login page, that allows him to create an account. <br></div><div><br></div><div>3. The "create account" link brings him to another web application : <a href="http://register.example.com">register.example.com</a></div><div>The process to create an account sends the user an email with a "validate account" link. He must click on the link which brings him back to the register application : <a href="https://register.example.com/validate?some_parameters=xxxx">https://register.example.com/validate?some_parameters=xxxx</a></div><div>This creates its account. <br></div><div><br></div><div>=> Question : once the account is created i would like to send the user back to the SAML Authentication process. Either by redirects him to the sp initial url : <a href="https://sp.example.com/ABCDEFGHIJKL">https://sp.example.com/ABCDEFGHIJKL</a></div><div>Either by redirects him to the authentication process (is there a way to do it ?)</div><div><br></div><div>How to do this ?<br></div><div><br></div><div>My first intuition was to the retrieve the HTTP Header 'referer' in the IDP login page, but it does not work all the time. Sometimes i have the idp url : https:/<a href="http://id.example.com/profile/SAML2/POST/SSO">id.example.com/profile/SAML2/POST/SSO</a> instead of the sp.<br></div><div><br></div><div>And at the beginning of the process, i may like to use relayState to pass some sp information. May be this changes something to the possible answers<br></div><div><br></div><div>I can make any modifications i want on the IDP, the SP and the register application.</div><div></div><div></div><div><br></div><div></div><div>
<span class="gmail-tlid-translation gmail-translation"><span title="" class="gmail-">Thank you for your answers</span></span></div><div><span class="gmail-tlid-translation gmail-translation"><span title="" class="gmail-"><br></span></span>
</div><div></div><div>-- <br><div dir="ltr" class="gmail-m_-5626829409898440872gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><p style="margin-bottom:3pt;background:white none repeat scroll 0% 0%"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:rgb(89,89,89)">Thomas Colin de Verdière</span></p><br></div><p></p><span style="font-family:Arial,Helvetica,sans-serif;font-size:medium"></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>