You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| tests | 6 years ago | |
| .gitignore | 6 years ago | |
| LICENSE | 6 years ago | |
| MANIFEST.in | 6 years ago | |
| README.md | 6 years ago | |
| requirements.txt | 6 years ago | |
| saml_mapping_provider.py | 6 years ago | |
| setup.cfg | 6 years ago | |
| setup.py | 6 years ago | |
| tox.ini | 6 years ago | |
README.md
Synapse Mozilla SAML MXID Mapper
Custom SAML auth response -> MXID mapping algorithm used during the Mozilla Matrix trial run.
Installation
This plugin can be installed via PyPi:
pip install matrix-synapse-saml-moz
Usage
Example synapse config:
saml2_config:
mapping_provider: "saml_mapping_provider.SamlMappingProvider"
Development and Testing
This repository uses tox to run linting and tests.
Linting code
Code is linted with the flake8 tool. Run tox -e pep8 to check for linting
errors in the codebase.
Tests
This repository uses unittest to run the tests located in the tests
directory. They can be ran with tox -e tests.