NodeRings Docs

Authorize

Authorize initiates the OAuth2 authorization flow

GET
/v1/oauth2/authorize
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Query Parameters

clientId?string
responseType?string
redirectUri?string
scope?string
state?string

CSRF protection

codeChallenge?string

PKCE challenge

codeChallengeMethod?string

Only S256, not plain

Response Body

application/json

curl -X GET "https://api.nrings.io/v1/oauth2/authorize?clientId&responseType&redirectUri&scope&state&codeChallenge&codeChallengeMethod" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "authorizationUrl": "string",
  "code": "string",
  "state": "string"
}