Add 404 to /auth_metadata

This commit is contained in:
Olivier 'reivilibre 2026-02-20 11:04:55 +00:00
parent ef010cd408
commit 2bfdb0de6d

View file

@ -195,6 +195,21 @@ paths:
"org.matrix.cross_signing_reset",
],
}
"404":
description: |-
With `M_UNRECOGNIZED`: the homeserver does not support the OAuth 2.0 API.
(See [Authentication API discovery](/client-server-api/#authentication-api-discovery).)
content:
application/json:
schema:
$ref: definitions/errors/error.yaml
examples:
response:
value:
{
"errcode": "M_UNRECOGNIZED",
"error": "Legacy authentication is in use on this homeserver.",
}
tags:
- Session management
servers: