Clarify /register / /login

This commit is contained in:
Will Hunt 2021-05-12 18:41:56 +01:00 committed by GitHub
parent 16290a0fe5
commit f9a5b34099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,8 @@ then the `errcode` should be `"M_EXCLUSIVE"`.
Homeservers should ignore the `access_token` parameter if a type other than
`m.login.application_service` has been provided.
The expected flow for appservices would be to `/register` their users, and
then `/login` to generate the appropriate device.
Appservices creating **new** users can still use the `/register` endpoint to generate an `access_token` / `device_id`
but for existing users, the `/login` endpoint can be used instead.
## Potential issues