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 Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<unknown, GetOauthAuthorizeErrors, ThrowOnError>
Last updated on