OAuth authorization server metadata
GET
/api/v1/oauth/server
const url = 'http://localhost:3000/api/v1/oauth/server';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/oauth/serverRFC 8414. Also at /.well-known/oauth-authorization-server.
No key needed.
Responses
Section titled “Responses”Metadata
default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}