Skip to content

Commit

Permalink
Add note about password schemes to migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonkku107 committed Nov 3, 2024
1 parent 1871b2c commit e397943
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/setup/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,23 @@ This will output `WARN` entries for any identified actions and `ERROR` entries i

Follow the instructions in the [installation guide](installation.md) to install MAS alongside your existing homeserver.

#### Local passwords

Synapse uses bcrypt as its password hashing scheme while MAS defaults to using the newer argon2id.
You will have to configure the version 1 scheme as bcrypt for migrated passwords to work.
It is also recommended that you keep argon2id as version 2 so that once users log in, their hashes will be updated to the newer recommended scheme.

Example passwords configuration:
```yml
passwords:
enabled: true
schemes:
- version: 1
algorithm: bcrypt
- version: 2
algorithm: argon2id
```
### Map any upstream SSO providers
If you are using an upstream SSO provider then you will need to provision the upstream provide in MAS manually.
Expand Down

0 comments on commit e397943

Please sign in to comment.