Add SubjectConfirmationData to response (#218)
- Using bearer method Co-authored-by: Russell Johnson-Bade <russell.johnson-bade@corrivium.com>
This commit is contained in:
parent
4c91b63249
commit
5f0d985ad8
@ -108,6 +108,14 @@ const createResponseXML = async (params: {
|
|||||||
'@Format': 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified',
|
'@Format': 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified',
|
||||||
'#text': user.email,
|
'#text': user.email,
|
||||||
},
|
},
|
||||||
|
'saml:SubjectConfirmation': {
|
||||||
|
'@Method': 'urn:oasis:names:tc:SAML:2.0:cm:bearer',
|
||||||
|
'saml:SubjectConfirmationData': {
|
||||||
|
'@InResponseTo': inResponseTo,
|
||||||
|
'@NotOnOrAfter': notAfter,
|
||||||
|
'@Recipient': acsUrl,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'saml:Conditions': {
|
'saml:Conditions': {
|
||||||
'@NotBefore': notBefore,
|
'@NotBefore': notBefore,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user