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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,20 @@
2
2
3
3
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ Options
96
96
| store | an object that handles the HTTP Session. Check [this implementation](./test/in_memory_store/)| new SessionStore(options) Uses req.session to store the current state |
97
97
98
98
#### Notes
99
+
99
100
- options.cert: This is the public certificate of the IdP
100
101
- options.key: This is the private key of the IdP. The IdP will sign its SAML `LogoutRequest` and `LogoutResponse` with this key.
101
102
- options.store: Since the logout flow will involve several requests/responses, we need to keep track of the transaction state. The default implementation uses req.session to store the transaction state via the 'flowstate' module
@@ -108,10 +109,12 @@ var sessionParticipant = {
108
109
nameIdFormat:'urn:oasis:names:tc:SAML:2.0:nameid-format:transient', // Format of the NameId
109
110
sessionIndex:'1', // The session index generated by the IdP
110
111
serviceProviderLogoutURL:'https://foobarsupport.zendesk.com/logout', // The logout URL of the Session Participant
111
-
cert:sp1_credentials.cert// The Session Participant public certificate, used to verify the signature of the SAML requests made by this SP
112
+
cert:sp1_credentials.cert, // The Session Participant public certificate, used to verify the signature of the SAML requests made by this SP
113
+
binding:'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST'// Optional, participant-specific binding to use during SLO, if not provided - will use "protocolBinding" from provided options
112
114
};
113
115
```
114
116
117
+
In some situations it is possible for session participants to have mixed bindings during one Single Log Out (SLO) transaction. By default the library will use the binding specified in `options.protocolBinding`, however if mixed bindings must be used - each participant must have the binding specified as an additional field. If the binding value is invalid - it will fall back to `HTTP-POST`.
0 commit comments