mirror of
https://github.com/netzbegruenung/meteor-accounts-saml.git
synced 2024-04-30 19:04:53 +02:00
Update saml_utils.js
This commit is contained in:
parent
0800e16a6c
commit
60e8a55b6c
|
@ -376,7 +376,7 @@ SAML.prototype.validateResponse = function(samlResponse, relayState, callback) {
|
|||
var assertion = response.getElementsByTagNameNS('urn:oasis:names:tc:SAML:2.0:assertion', 'Assertion')[0];
|
||||
const encAssertion = response.getElementsByTagNameNS('urn:oasis:names:tc:SAML:2.0:assertion', 'EncryptedAssertion')[0];
|
||||
|
||||
var xmlenc = require('xml-encryption');
|
||||
var xmlenc = Npm.require('xml-encryption');
|
||||
var options = { key: this.options.privateKey, };
|
||||
|
||||
if (typeof encAssertion !== 'undefined') {
|
||||
|
|
Loading…
Reference in a new issue