mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-12 17:25:05 +00:00
24 lines
836 B
Markdown
24 lines
836 B
Markdown
# .well-known configuration
|
|
|
|
A `.well-known/matrix/client` file is required to be served to allow clients to discover the authentication service.
|
|
|
|
If no `.well-known/matrix/client` file is served currently then this will need to be enabled.
|
|
|
|
If the homeserver is Synapse and serving this file already then the correct values will already be included when the homeserver is [configured to use MAS](./homeserver.md).
|
|
|
|
If the .well-known is hosted elsewhere then `org.matrix.msc2965.authentication` entries need to be included similar to the following:
|
|
|
|
```json
|
|
{
|
|
"m.homeserver": {
|
|
"base_url": "https://matrix.example.com"
|
|
},
|
|
"org.matrix.msc2965.authentication": {
|
|
"issuer": "https://example.com/",
|
|
"account": "https://auth.example.com/account"
|
|
}
|
|
}
|
|
```
|
|
|
|
For more context on what the correct values are, see [here](./).
|