Skip to content

change delimiter for appending url parameters in redirect if existing parameters are present#120

Merged
benoist merged 1 commit intodigidentity:masterfrom
nddeluca:fix-query-parameter-addition-when-sso-url-has-existing-params
May 10, 2016
Merged

change delimiter for appending url parameters in redirect if existing parameters are present#120
benoist merged 1 commit intodigidentity:masterfrom
nddeluca:fix-query-parameter-addition-when-sso-url-has-existing-params

Conversation

@nddeluca
Copy link
Contributor

@nddeluca nddeluca commented May 9, 2016

Thanks for the quick review and merge of my last PR 😄. Here is another small code change to get libsaml working with Google's IDP. When integrating with Google, the SSO url has an existing query parameter (https://accounts.google.com/o/saml2/idp?idpid=xxx), which causes an error due to the SAMLRequest parameter being appended with a ? instead of a &.

This PR changes the redirect url creation to check for existing parameters, and append the SAML parameters with the correct delimiter.

@benoist benoist merged commit b6a8fa1 into digidentity:master May 10, 2016
@benoist
Copy link
Contributor

benoist commented May 10, 2016

Looks good to me! Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants