Skip to Content
Anuma SDKClientInternalFunctionsgetOauthAuthorize

getOauthAuthorize

getOauthAuthorize<ThrowOnError>(options: Options<GetOauthAuthorizeData, ThrowOnError>): RequestResult<unknown, GetOauthAuthorizeErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1501 

OAuth 2.0 authorization endpoint

Starts the OAuth 2.0 authorization code flow. Requires the user to be authenticated via Privy JWT. When the requested scopes fit an existing grant, auto-issues a code; otherwise 302s back with error=access_denied (consent UI lands in PR #2).

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<GetOauthAuthorizeData, ThrowOnError>

Returns

RequestResult<unknown, GetOauthAuthorizeErrors, ThrowOnError>

Last updated on