GET
/
oauth
/
authorize
curl --request GET \
  --url https://api.nomos.energy/oauth/authorize
This response does not have an example.

Query Parameters

response_type
enum<string>
required

The response type, must be 'code' for authorization code flow

Available options:
code
Example:

"code"

client_id
string
required

The client identifier issued to the client during registration

Example:

"client_12345"

redirect_uri
string
required

The URI to redirect to after authorization is complete

Example:

"https://your-app.com/callback"

scope
string
state
string

Optional value used by the client to maintain state between request and callback

Example:

"xcoiv98sj3coijs"

code_challenge
string

PKCE code challenge derived from the code verifier

Example:

"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM"

code_challenge_method
enum<string>

Method used to derive the code challenge, either 'S256' or 'plain'

Available options:
S256,
plain
Example:

"S256"

Response

302

Redirect to the defined redirect_uri