OAuth

Generate O Auth Code Query

get/api/oauth/state

Request

  • Base URL: https://api.unorouter.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.unorouter.com/api/oauth/state
  • Auth: none required

Query parameters

turnstilestring

Cloudflare Turnstile verification token

providerstring

OAuth provider name

intentstring

OAuth flow intent: login or bind

affstring

Affiliate code

redirect_uristring

URL to redirect to after OAuth login (must match allowed origins)

actionstring

Set to 'bind' to link OAuth provider to existing account (requires Authorization header)

Response

OK

datastring required
messagestring required
successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.