SP shibsession looping

savitha sagar savithaksagar at gmail.com
Tue Aug 19 00:44:54 EDT 2014


Hi All,


looking for help in resolving this problem.... It is one of our urgent
requirement and  I am stuck-up here ... Your suggestion /help is highly
appreciated .


We have configured Shibboleth service provider on win 2008 -IIS7 in  our
organization and it will be interacting with an
external IDP  belongs other organization (not shibboleth it is openId )that
supports SAML 2.0(Microsoft product) .

When we browse the shib secured application URL( application which is
configured in shib-SP configuration file),
it is redirecting to other organization IDP  login page for
authorization.Once authentication details provided, the SSO control is
returning back to locally configured SP  but instead redirecting to our
shib secured application page (requested page) the request is looping and
refreshing SAML request with different  "relay state " value  highlighted
as below.




<HTML>
<HEAD>

<TITLE>Access rights validated</TITLE>

</HEAD>

<BODY onLoad="document.forms[0].submit()">
<FORM METHOD="POST" ACTION="https&#x3a;&#x2f;&#x2f;Orgl1.exl.com
&#x2f;Shibboleth.sso&#x2f;SAML2&#x2f;POST">
<INPUT TYPE="HIDDEN" NAME="SAMLResponse"
VALUE="PHNhbWxwOlJlc3BvbnNlIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6&#xa;cHJvdG9jb2wiIElEPSJzMmNhNTBiNzhjMTYxN2RjM2I2MjA3OGRiNmQzNjViNDI0MzRhNDAzMGMi&#xa;IEluUmVzcG9uc2VUbz0iXzFhMmFmOTRjM2FlMTQwMTc1YzRiMTQxZjkxMTc3ZWYyIiBWZXJzaW9u&#xa;PSIyLjAiIElzc3VlSW5zdY29sIj4KPHNhbWxwOlN0YXR1c0NvZGUgIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6&#xa;bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiClZhbHVlPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FN&#xa;TDoyLjA6c3RhdHVzOlN1Y2Nlc3MiPgo8L3NhbWxwOlN0YXR1c0NvZGU&#x2b;Cjwvc2FtbHA6U3RhdHVz&#xa;PjxzYW1sOkFzc2VydGl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ZW1lbnQ&#x2b;PC9zYW1sOkFzc2VydGlvbj48L3NhbWxwOlJlc3BvbnNlPg&#x3d;&#x3d;&#xa;">


The RelayState value Continuously changing and page is getting refreshing
in every second

*<INPUT TYPE="HIDDEN" NAME="RelayState"
VALUE="cookie&#x3a;1408354385_495f">*


<NOSCRIPT><CENTER>
<INPUT TYPE="SUBMIT" VALUE="Submit SAMLResponse data "/></CENTER></NOSCRIPT>
</FORM></BODY></HTML>


also   in *HTTP header response*  getting below response

*Set-Cookie: _shibstate_1407947781_e14a=; path=/; HttpOnly; expires=Mon, 01
Jan 2001 00:00:00 GMT*

is above the expire date affecting the normal SP process??
if so, can anyone tell how to reset shib SP cookie expiry date?

Is there a way/need to do any SP level configuration ,So that After
authorization IDP redirects to Requested page?


*Note * : in Shib.log getting expected authorization information (mapped
attebutes values) also in  Transaction.log getting expected number of
mapped attebutes

Thanks -Savitha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20140819/1c468310/attachment.html 


More information about the users mailing list