... | ... | @@ -2,15 +2,15 @@ You can configure MyPads for using LDAP authentication. For that, go to MyPads' |
|
|
|
|
|
Beside `properties` and `defaultLang`, all the settings are [simple-cas-interface](https://github.com/jsumners/simple-cas-interface/blob/HEAD/api.md#CASParameters) (the module used for the CAS authentication) settings.
|
|
|
|
|
|
`properties` is mandatory: it's used to bind CAS attributes to MyPads users informations.
|
|
|
`properties` is mandatory: it's used to bind CAS attributes to MyPads users informations. It is mandatory that your CAS server returns attributes.
|
|
|
|
|
|
Valid CAS parameters (please note that some of them are unused in MyPads):
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
| --------------- | -------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
|
|
|
| serverUrl | <code>string</code> | | The base URL for the CAS server to authtenticate against, e.g `https://example.com/cas`. |
|
|
|
| serverUrl | <code>string</code> | | **Mandatory** The base URL for the CAS server to authtenticate against, e.g `https://example.com/cas`. |
|
|
|
| serviceUrl | <code>string</code> | | **Unused on Mypads** The URL to pass to the CAS server to indicate where clients should be redirected to after authentication. |
|
|
|
| protocolVersion | <code>number</code> | <code>2.0</code> | The CAS protocol version to use for communicating with the remote CAS server. Default: `2.0`. |
|
|
|
| protocolVersion | <code>number</code> | <code>2.0</code> | **Mandatory** The CAS protocol version to use for communicating with the remote CAS server. Default: `2.0`. |
|
|
|
| method | <code>string</code> | <code>"GET"</code> | **Unused on Mypads** The method the remote CAS server should use when redirecting clients back to the provided `serviceUrl`. Default: `GET` |
|
|
|
| useGateway | <code>boolean</code> | <code>false</code> | Indicates if login URLs should include the `gateway` parameter. Default: `false`. |
|
|
|
| strictSSL | <code>boolean</code> | <code>true</code> | Specifies whether or not the client should validate remote SSL certificates. Default: `true`. |
|
... | ... | |