<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Can you please help me to get rid of 302 error for mydomain/Shibboleth.sso/SAML2/POST<div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 18-Nov-2018, at 10:59 AM, Rohit Shinde <<a href="mailto:rohit@venturit.com" class="">rohit@venturit.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">When I changed homeURL to <a href="https://mydomain/saml/consume" class="">https://mydomain/saml/consume</a> its redirecting to new home page instead of <a href="https://mydomain/" class="">https://mydomain</a> but I was expecting SAMLResponse from idp on new homeURL. <div class=""><br class=""><blockquote type="cite" class=""><div class="">On 18-Nov-2018, at 10:34 AM, Nate Klingenstein <<a href="mailto:ndk@signet.id" class="">ndk@signet.id</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Rohit,<br class=""><br class=""><blockquote type="cite" class="">This change of response came in my mind because currently I am getting response in mydomain/Shibboleth.sso/SAML2/POST but the problem is I am getting 302 error for <a href="https://mydomain/Shibboleth.sso/SAML2/POST" class="">https://mydomain/Shibboleth.sso/SAML2/POST</a>  where SAMLResponse is and after that its getting redirected to <a href="https://mydomain/" class="">https://mydomain</a><br class="">How to get rid of 302 error?  <br class=""></blockquote><br class="">The 302 probably isn't an error.  That's the way the software redirects you to the protected resource after it's finished consuming an assertion and creating a session using it.  It's redirecting you to the base URL because it doesn't have a functional place to send you(e.g. no relay state in the SAML Response).  You can set a different default(homeURL on the Sessions element) if for some reason your deployment environment can't set a proper destination URL.<br class=""><br class="">I'd turn up the SP's logging to DEBUG and look at /var/log/shibboleth/shibd.log, where you should see a session being created.<br class=""><br class="">Thanks,<br class="">Nate.<br class="">-- <br class="">For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" class="">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br class="">To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" class="">users-unsubscribe@shibboleth.net</a><br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></body></html>