Files
matrix-authentication-service/docs/as-login.md
T
Paul Chobert 765fa97ffe Return M_APPSERVICE_LOGIN_UNSUPPORTED for m.login.application_service
Matrix 1.17 requires servers that don't support the legacy
authentication API to reject `m.login.application_service` on
`/login` with a 400 and the `M_APPSERVICE_LOGIN_UNSUPPORTED` error
code. Previously this login type fell through the generic unsupported
credentials path and returned `M_UNKNOWN`, which appservices written
against Matrix 1.17 can't distinguish from an unrelated failure.
2026-09-03 11:10:26 +02:00

672 B

About Application Services login

Encrypted Application Services/Bridges currently leverage the m.login.application_service login type to create devices for users. This API is not available in the Matrix Authentication Service: as per Matrix 1.19, calling /login with this login type returns a 400 HTTP status code with an M_APPSERVICE_LOGIN_UNSUPPORTED error code.

We're working on a solution to support this use case, but in the meantime, this means encrypted bridges will not work with the Matrix Authentication Service. A workaround is to disable E2EE support in your bridge setup.