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

improve ADFS compatibility #2

Merged
merged 1 commit into from
Sep 29, 2012
Merged

Conversation

jess-sheneberger
Copy link
Contributor

I'm using passport-saml with ADFS.

My ADFS produces SAML with enveloped signatures where the Signature node is three levels down, and the existing XPath in validateSignature is only looking for Signature nodes two levels down.

As far as I can tell from the SAML spec, the Signature node is allowed anywhere in the document. I validated both SAML from ADFS and feide.no against the XSD schemas provided alongside the SAML spec.

…wo levels down -- ADFS generates SAML that is signed three levels down
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