Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Seraph SSO configuration using target url that contains query parameters

bryan staley
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 5, 2015

We have an SSO solution that uses Shibboleth SSO for SSO authentication to a Confluence wiki site.  We've configured Seraph (login.url and link.login.url) to redirect through Shibboleth as follows:

<init-param>
  <param-name>login.url</param-name>          
  <param-value>https://<sp domain>/Shibboleth.sso/Login?target=https://<wiki domain>/wiki?os_destination=${originalurl}</param-value>  
</init-param>

<init-param>     
  <param-name>link.login.url</param-name>
  <param-value>https://<sp domain>/Shibboleth.sso/Login?target=https://<wiki domain>/wiki?os_destination=${originalurl}</param-value>   
</init-param>

 

The problem is, the originalurl contains query parameters (e.g https://<wiki domain>/wiki/pages/viewpage.action?title=Home&spaceKey=Space).  When this is sent back to the SP, only the ${originalurl} portion is URL encoded.  Once the SP decodes the target, the 2nd originalulr query parameter (spaceKey in this example) is interpret as the target's query parameters.

 

It seems as if i need to url encode the entire target after the originalurl has been encoded (i.e dual encode the originalurl) so original url can survive the SP decode.

 

How can i handle origianlurl's that contain query parameters?

 

Thanks

2 answers

0 votes
Claus köll May 9, 2016

A solution would be great !

0 votes
agsqwe NA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2015

Have you found a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events