Skip to main content
GET
/
.well-known
/
oauth-authorization-server
OAuth 2.0 Authorization Server Metadata
curl --request GET \
  --url https://app.usechar.ai/api/.well-known/oauth-authorization-server \
  --header 'Authorization: Bearer <token>'
{
  "issuer": "<string>",
  "authorization_endpoint": "<string>",
  "token_endpoint": "<string>",
  "registration_endpoint": "<string>",
  "revocation_endpoint": "<string>",
  "response_types_supported": [
    "<string>"
  ],
  "grant_types_supported": [
    "<string>"
  ],
  "code_challenge_methods_supported": [
    "<string>"
  ],
  "token_endpoint_auth_methods_supported": [
    "<string>"
  ],
  "revocation_endpoint_auth_methods_supported": [
    "<string>"
  ],
  "scopes_supported": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Authorization server metadata

issuer
string
required

Authorization server issuer URL

authorization_endpoint
string
required

OAuth 2.0 authorization endpoint

token_endpoint
string
required

OAuth 2.0 token endpoint

registration_endpoint
string
required

OAuth 2.0 dynamic client registration endpoint

revocation_endpoint
string
required

OAuth 2.0 token revocation endpoint

response_types_supported
string[]
required

Supported OAuth 2.0 response types

grant_types_supported
string[]
required

Supported OAuth 2.0 grant types

code_challenge_methods_supported
string[]
required

Supported PKCE methods

token_endpoint_auth_methods_supported
string[]
required

Token endpoint auth methods

revocation_endpoint_auth_methods_supported
string[]
required

Revocation auth methods

scopes_supported
string[]
required

Supported OAuth 2.0 scopes