Skip to content

Assertion signature is missing in SAML Response when using Google Workspace #865

Answered by srd90
michielswaanen asked this question in Q&A
Discussion options

You must be logged in to vote

You have configured this:

    wantAssertionsSigned: true, 
    wantAuthnResponseSigned: true,

(which is also default cofiguration for @node-saml/passport-saml / @node-saml/node-saml)

This bug report is duplicate of e.g. these (read background information from those and from linked PRs and from release notes):

  1. node-saml/node-saml#211
  2. #816
  3. #839

Long story short. Your configuration expects that IdP signs response (wantAuthnReponseSigned = true) and nested assertion (wantAssertionSigned = true).
Your IdP is configured to sign only top level (sign response). Reconfigure your IdP to sign also assertion (sign assertion). If you are not able to alter IdP configuration change passport-saml sid…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by markstos
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@srd90
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #852 on June 08, 2023 15:30.