GET
/
.well-known
/
oauth-authorization-server
OAuth 2.0 Authorization Server Metadata
curl --request GET \
  --url https://api.nomos.energy/.well-known/oauth-authorization-server
{
  "issuer": "https://api.nomos.energy",
  "authorization_endpoint": "https://api.nomos.energy/oauth/authorize",
  "token_endpoint": "https://api.nomos.energy/oauth/token",
  "response_types_supported": [
    "code"
  ],
  "grant_types_supported": [
    "authorization_code",
    "client_credentials",
    "refresh_token"
  ],
  "code_challenge_methods_supported": [
    "S256",
    "plain"
  ],
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "scopes_supported": [
    "read",
    "write"
  ]
}

Response

200 - application/json

OAuth 2.0 Authorization Server Metadata

issuer
string
required

The authorization server's identifier

Example:

"https://api.nomos.energy"

authorization_endpoint
string
required

URL of the authorization server's authorization endpoint

Example:

"https://api.nomos.energy/oauth/authorize"

token_endpoint
string
required

URL of the authorization server's token endpoint

Example:

"https://api.nomos.energy/oauth/token"

response_types_supported
string[]
required

Array of response type values supported

Example:
["code"]
grant_types_supported
string[]
required

Array of grant type values supported

Example:
[
"authorization_code",
"client_credentials",
"refresh_token"
]
code_challenge_methods_supported
string[]
required

Array of PKCE code challenge methods supported

Example:
["S256", "plain"]
token_endpoint_auth_methods_supported
string[]
required

Array of client authentication methods supported at the token endpoint

Example:
["client_secret_basic", "client_secret_post"]
scopes_supported
string[]

Array of scope values supported

Example:
["read", "write"]