Update README with latest relevant info

This commit is contained in:
Max Dor
2018-11-14 04:13:02 +01:00
parent 46e68c4cbe
commit 38b551bac9

View File

@@ -5,7 +5,7 @@ This synapse authentication module (password provider) allows you to query ident
- CRMs (Wordpress, ...) - CRMs (Wordpress, ...)
- self-hosted clouds (Nextcloud, ownCloud, ...) - self-hosted clouds (Nextcloud, ownCloud, ...)
It is mainly used with [mxisd](https://github.com/kamax-io/mxisd), the Federated Matrix Identity Server, to provide It is mainly used with [mxisd](https://github.com/kamax-matrix/mxisd), the Federated Matrix Identity Server, to provide
missing features and offer a fully integrated solution (directory, authentication, search). missing features and offer a fully integrated solution (directory, authentication, search).
## Install ## Install
@@ -13,9 +13,7 @@ Copy in whichever directory python2.x can pick it up as a module.
If you installed synapse using the Matrix debian repos: If you installed synapse using the Matrix debian repos:
``` ```
git clone https://github.com/maxidor/matrix-synapse-rest-auth.git sudo curl https://raw.githubusercontent.com/kamax-matrix/matrix-synapse-rest-auth/master/rest_auth_provider.py -o /usr/lib/python2.7/dist-packages/
cd matrix-synapse-rest-auth
sudo cp rest_auth_provider.py /usr/lib/python2.7/dist-packages/
``` ```
## Configure ## Configure
@@ -26,7 +24,7 @@ password_providers:
config: config:
endpoint: "http://change.me.example.com:12345" endpoint: "http://change.me.example.com:12345"
``` ```
Set `endpoint` to the appropriate value. Set `endpoint` to the value documented with the endpoint provider.
## Use ## Use
1. Install, configure, restart synapse 1. Install, configure, restart synapse
@@ -34,6 +32,8 @@ Set `endpoint` to the appropriate value.
## Next steps ## Next steps
### Lowercase username enforcement ### Lowercase username enforcement
**NOTE**: This is no longer relevant as synapse natively enforces lowercase.
To avoid creating users accounts with uppercase characters in their usernames and running into known To avoid creating users accounts with uppercase characters in their usernames and running into known
issues regarding case sensitivity in synapse, attempting to login with such username will fail. issues regarding case sensitivity in synapse, attempting to login with such username will fail.
@@ -44,7 +44,7 @@ It is highly recommended to keep this feature enable, but in case you would like
policy: policy:
registration: registration:
username: username:
enforceLowercase: False enforceLowercase: false
``` ```
### Profile auto-fill ### Profile auto-fill
@@ -59,10 +59,10 @@ If you would like to change the behaviour, you can use the following configurati
policy: policy:
registration: registration:
profile: profile:
name: True name: true
login: login:
profile: profile:
name: False name: false
``` ```
3PIDs received from the backend are merged with the ones already linked to the account. 3PIDs received from the backend are merged with the ones already linked to the account.