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

Document the skipRequestCompression #121

Merged
merged 1 commit into from Nov 1, 2015
Merged

Conversation

jonasfj
Copy link
Contributor

@jonasfj jonasfj commented Oct 17, 2015

Some providers don't support SAML compression, or they don't support compressed SAML requests if the assertions is configured to be uncompressed.

So having the skipRequestCompression is nice, and highlighting it in documentation makes it easier for people configuring an SP app through trail and error (not all IDPs gives much in terms of error codes and error messages).


I ran into this issue when setting up and app to work with okta. Except for the SAML request compression issue this library works great (granted I had to contact okta support got even figure out that request compression was an issue, but that's their fault for not having error codes, system logs or debug information of any kind).

Some providers don't support SAML compression, or they don't support compressed SAML requests if the assertions is configured to be uncompressed.

So having the skipRequestCompression is nice, and highlighting it in documentation makes it easier for people configuring an SP app through trail and error (not all IDPs gives much in terms of error codes and error messages).
@ploer
Copy link
Contributor

ploer commented Nov 1, 2015

Thanks for the PR!

ploer added a commit that referenced this pull request Nov 1, 2015
Document the skipRequestCompression
@ploer ploer merged commit 5c51e65 into node-saml:master Nov 1, 2015
@fcorneli
Copy link

The big problem is that passport-saml does not indicate that the request has been compressed.
It should also pass a parameter SAMLEncoding with value:

urn:oasis:names:tc:SAML:2.0:bindings:URL-Encoding:DEFLATE

to indicate towards the identity provider that the request should be decompressed first.

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

3 participants