# Get authorization server metadata

> Returns the [RFC 8414](https://www.rfc-editor.org/rfc/rfc8414) Authorization Server Metadata

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get authorization server metadata"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/.well-known/oauth-authorization-server"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Returns the [RFC 8414](https://www.rfc-editor.org/rfc/rfc8414) Authorization Server Metadata
document: where `/authorize`, `/token` and `/register` are, which grants and PKCE methods are
supported, and which scopes exist.

Discovery precedes authentication by definition, so this endpoint takes no credential.

<ParamsDetails>
  
</ParamsDetails>

<RequestSchema
  {...require("./get-oauth-authorization-server-metadata.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./get-oauth-authorization-server-metadata.StatusCodes.json")}
>
  
</StatusCodes>
