You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 3, 2026. It is now read-only.
I was using the SAML 2.0 saml.create(options, callback) API and I had some questions about options parameters. For some context, I'm looking to create encrypted, signed SAML2 assertions, and I looked at the unit tests for examples, but I still have questions.
Are the following descriptions correct for each options parameter?
options.encryptionPublicKey: service provider's public key
options.encryptionCert: service provider's x.509 certificate
To my understanding of SAML (which may be incorrect), assertions are encrypted using the service provider's public key / certificate (which are are the two encryption variables), and then later the service provider will decrypt using their private key. I'm not sure of the purpose for the other two parameters, cert and key.
Clarification on these parameters is appreciated. Thank you in advance!
I'm also trying to understand that issue.
I assume that options.cert and options.key are the certificate and private key of the IdP that are used for signing the request, and that options.encryptionPublicKeyis used for encryption, but I don't understand what options.encryptionCert is used for.
Can someone please explain? Thanks!
Activity
meirshal commentedon Oct 17, 2017
I'm also trying to understand that issue.
I assume that
options.certandoptions.keyare the certificate and private key of the IdP that are used for signing the request, and thatoptions.encryptionPublicKeyis used for encryption, but I don't understand whatoptions.encryptionCertis used for.Can someone please explain? Thanks!
Merge pull request auth0#11 from Banno/chore-ns-3691