diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 0276348f..0810fd4c 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](_media/lock.png) -# samlify 2.7.0 +# samlify 2.8.4 > Node.js SAML2 API diff --git a/docs/saml-response.md b/docs/saml-response.md index 5417e45f..a83e2894 100644 --- a/docs/saml-response.md +++ b/docs/saml-response.md @@ -91,7 +91,7 @@ The callback function inside `sp.parseLoginResponse` returns an object named `pa notonorafter: "2015-10-26T11:46:43.500Z" }, issuer: ['https://sp.example.org/sso/metadata'], - nameid: "user@esaml2.com" + nameID: "user@esaml2.com" signature: "", statuscode: { value: "urn:oasis:names:tc:SAML:2.0:status:Success" diff --git a/src/libsaml.ts b/src/libsaml.ts index 1185833b..01c53f7f 100644 --- a/src/libsaml.ts +++ b/src/libsaml.ts @@ -45,7 +45,7 @@ export interface ExtractorResult { [key: string]: any; signature?: string | string[]; issuer?: string | string[]; - nameid?: string; + nameID?: string; notexist?: boolean; }