Skip to content

Get OAuth authorization server metadata

Request

Returns the public OAuth endpoints and supported confidential-client authentication methods.

curl -i -X GET \
  https://docs.wisedocs.ai/_mock/api/openapi/.well-known/oauth-authorization-server

Responses

Authorization server metadata.

Bodyapplication/json
issuerstring, (uri)required
Example:"https://api.wisedocs.ai"
token_endpointstring, (uri)required
Example:"https://api.wisedocs.ai/oauth/token"
revocation_endpointstring, (uri)required
Example:"https://api.wisedocs.ai/oauth/revoke"
introspection_endpointstring, (uri)required
Example:"https://api.wisedocs.ai/oauth/introspect"
grant_types_supportedArray of stringsrequired
Example:
[ "client_credentials" ]
token_endpoint_auth_methods_supportedArray of stringsrequired
Example:
[ "client_secret_basic", "client_secret_post" ]
revocation_endpoint_auth_methods_supportedArray of stringsrequired
Example:
[ "client_secret_basic" ]
introspection_endpoint_auth_methods_supportedArray of stringsrequired
Example:
[ "client_secret_basic" ]
Response
{ "issuer": "https://api.wisedocs.ai", "token_endpoint": "https://api.wisedocs.ai/oauth/token", "revocation_endpoint": "https://api.wisedocs.ai/oauth/revoke", "introspection_endpoint": "https://api.wisedocs.ai/oauth/introspect", "grant_types_supported": [ "client_credentials" ], "token_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post" ], "revocation_endpoint_auth_methods_supported": [ "client_secret_basic" ], "introspection_endpoint_auth_methods_supported": [ "client_secret_basic" ] }