Interface AuthorizationOpts

Options when requesting an authorization code.

Hierarchy

Properties

audience?: string[]

Defines the requested audience when performing an authorization code request.

redirect_uri?: string

The URL is where authorization server will redirect browser upon a successful authentication.

Please make sure to whitelist this URL in the authorization provider.

response_type?: string

Defines the requested response type when performing an authorization code request.

scope?: string

Defines the requested scopes.

state?: any

state can be used by the application to preserve some state. for example, the application may provide a state that contains the return to url where user should be redirected to upon completion of a successful login.