|
|
@ -8,7 +8,7 @@ Matrix trial run.
|
|
|
|
This plugin can be installed via [PyPi](https://pypi.org):
|
|
|
|
This plugin can be installed via [PyPi](https://pypi.org):
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
pip install matrix-synapse-saml-moz
|
|
|
|
pip install matrix-synapse-saml-mozilla
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
## Usage
|
|
|
@ -19,13 +19,16 @@ Add the following in your Synapse config:
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
saml2_config:
|
|
|
|
saml2_config:
|
|
|
|
user_mapping_provider: "saml_mapping_provider.SamlMappingProvider"
|
|
|
|
user_mapping_provider:
|
|
|
|
|
|
|
|
module: "saml_mapping_provider.MozillaSamlMappingProvider"
|
|
|
|
|
|
|
|
config:
|
|
|
|
|
|
|
|
mxid_source_attribute: "uid"
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Configuration Options
|
|
|
|
### Configuration Options
|
|
|
|
|
|
|
|
|
|
|
|
Synapse allows SAML mapping providers to specify custom configuration through the
|
|
|
|
Synapse allows SAML mapping providers to specify custom configuration through the
|
|
|
|
`saml2_config.user_mapping_provider_config` option.
|
|
|
|
`saml2_config.user_mapping_provider.config` option.
|
|
|
|
|
|
|
|
|
|
|
|
The options supported by this provider are currently:
|
|
|
|
The options supported by this provider are currently:
|
|
|
|
|
|
|
|
|
|
|
|