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: README.md
+18-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Passport-SAML has been tested to work with Onelogin, Okta, Shibboleth, [SimpleSA
11
11
## Installation
12
12
13
13
$ npm install passport-saml
14
-
14
+
/
15
15
## Usage
16
16
17
17
The examples utilize the [Feide OpenIdp identity provider](https://openidp.feide.no/). You need an account there to log in with this. You also need to [register your site](https://openidp.feide.no/simplesaml/module.php/metaedit/index.php) as a service provider.
@@ -134,6 +134,23 @@ type Profile = {
134
134
*`skipRequestCompression`: ifsettotrue, theSAMLrequestfromtheserviceproviderwon't be compressed.
*`scoping`: Anoptionalconfigurationwhichimplementsthefunctionality [explainedintheSAMLspecparagraph"3.4.1.2 Element <Scoping>"](https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf). The config object is structured as following:
138
+
```javascript
139
+
{
140
+
idpList: { // optional
141
+
entries: [ // required
142
+
{
143
+
providerId: 'yourProviderId', // required for each entry
144
+
name: 'yourName', // optional
145
+
loc: 'yourLoc', // optional
146
+
}
147
+
],
148
+
getComplete: 'URI to your complete IDP list', // optional
0 commit comments