Skip to main content

Interface: BuildAuthUrlOptions

Defined in: client.ts:21

Options for OAuthClient.buildAuthUrl.

Properties

extraParams?

optional extraParams?: Record<string, string>

Defined in: client.ts:29

Extra provider-specific query parameters to append.


redirectUri

redirectUri: string

Defined in: client.ts:23

Where the provider redirects the user back to after consent.


scope

scope: string | string[]

Defined in: client.ts:25

Requested scope(s). An array is joined with the provider's separator.


state

state: string

Defined in: client.ts:27

Opaque CSRF value; persist it and verify it on callback.