Centralized Discovery Service and URL decoding

Cantor, Scott cantor.2 at osu.edu
Tue Oct 29 17:10:14 EDT 2013


On 10/29/13, 3:58 PM, "Wessel, Keith" <kwessel at illinois.edu> wrote:

>When we go to this University of Illinois URL we expect to be returned
>back the to URL specified in the return parameter (this parameter needs
>to be decoded 1x).
>
>University of Illinois URL:
>https://shibboleth.illinois.edu/illinois-ds/DS?entityID=box.net&returnIDPa
>ram=PartnerIdpId&return=https%3A%2F%2Fsso.services.box.net%2Fsp%2FstartSSO
>.ping%3FTargetResource%3Dhttps%253A%252F%252Fwww.box.com%252Fapi%252Foauth
>2%252Fauthorize%253Fresponse_type%253Dcode%2526client_id%253Dpbwjkgj4xxa9j
>ifscs2zv3dzq1t96ykc%2526redirect_uri%253Dhttps%25253A%25252F%25252Fgoogle.
>com%25252F

I took that URL and modified it twice:

- replaced your DS location with InCommon's
- replaced the box reference with carmenwiki.osu.edu as the SP to get past
the endpoint check

The resulting redirect back to carmenwiki was:

https://carmenwiki.osu.edu/Shibboleth.sso/Login?TargetResource=https%3A%2F%
2Fwww.box.com%2Fapi%2Foauth2%2Fauthorize%3Fresponse_type%3Dcode%26client_id
%3Dpbwjkgj4xxa9jifscs2zv3dzq1t96ykc%26redirect_uri%3Dhttps%253A%252F%252Fgo
ogle.com%252F&PartnerIdpId=urn%3Amace%3Aincommon%3Aosu.edu

I believe that's all as it should be?


>Expected Redirect on Successful Login:
>https://sso.services.box.net/sp/startSSO.ping?TargetResource=https%3A%2F%2
>Fwww.box.com%2Fapi%2Foauth2%2Fauthorize%3Fresponse_type%3Dcode%26client_id
>%3Dpbwjkgj4xxa9jifscs2zv3dzq1t96ykc%26redirect_uri%3Dhttps%253A%252F%252Fg
>oogle.com%252F

See above, looks like that's what I get.

>They seem to suspect the discovery service is responsible for this, but I
>kind of wonder if it's something else like Ping Federate on their side,
>though they say it appears it's being decoded before it gets back to them.

I traced it with Live Headers, and it's definitely your DS doing it. So
there's a bug somewhere on your side, but I thought the InCommon DS was
also the CDS code. If not, then there probably is a bug in the CDS. I
don't know that code.

-- Scott




More information about the users mailing list