Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use logoutUrl for generateLogoutRequest #72

Merged
merged 2 commits into from
Jan 23, 2015
Merged

Use logoutUrl for generateLogoutRequest #72

merged 2 commits into from
Jan 23, 2015

Conversation

halfmanhalfdonut
Copy link
Contributor

Description

Currently, when generating a LogoutRequest, options.entryPoint is used as the @Destination property. This will not validate from an IdP, resulting in the user not logging out. Setting @Destination to options.logoutUrl fixes this issue, allowing the user to log out of the IdP and be correctly redirected back.

…Url instead of options.entryPoint, allowing LogoutRequests to validate properly
@halfmanhalfdonut
Copy link
Contributor Author

Any chance this sees the light of day?

@ploer
Copy link
Contributor

ploer commented Jan 21, 2015

Sorry, been a little busy and haven't had a chance to review, but yes, I'm open to merging. Will try to take a closer look soon.

@ploer
Copy link
Contributor

ploer commented Jan 23, 2015

Looks good, thanks for the PR!

ploer added a commit that referenced this pull request Jan 23, 2015
Use logoutUrl for generateLogoutRequest
@ploer ploer merged commit 225d579 into node-saml:master Jan 23, 2015
@ploer
Copy link
Contributor

ploer commented Jan 23, 2015

Pushed to npm as 0.8.0.

@halfmanhalfdonut
Copy link
Contributor Author

Thanks!!

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.

None yet

2 participants