mirror of
https://github.com/netzbegruenung/meteor-accounts-saml.git
synced 2024-05-01 11:24:52 +02:00
Update saml_utils.js
Removed useless private key
This commit is contained in:
parent
60e8a55b6c
commit
290e5695bc
|
@ -377,7 +377,7 @@ SAML.prototype.validateResponse = function(samlResponse, relayState, callback) {
|
|||
const encAssertion = response.getElementsByTagNameNS('urn:oasis:names:tc:SAML:2.0:assertion', 'EncryptedAssertion')[0];
|
||||
|
||||
var xmlenc = Npm.require('xml-encryption');
|
||||
var options = { key: this.options.privateKey, };
|
||||
var options = { key: this.options.privateKey };
|
||||
|
||||
if (typeof encAssertion !== 'undefined') {
|
||||
xmlenc.decrypt(encAssertion.getElementsByTagNameNS('*', 'EncryptedData')[0], options, function(err, result) {
|
||||
|
|
Loading…
Reference in a new issue