Interface AuthorizationParameters

Authorization parameters that will be passed to the identity provider on login.

The library uses response_mode: 'query' and response_type: 'code' (with PKCE) by default.


  • AuthorizationParameters
    • AuthorizationParameters


response_mode: "query" | "form_post"
response_type: "id_token" | "code id_token" | "code"
scope: string

A space-separated list of scopes that will be requested during authentication. For example, openid profile email offline_access. Defaults to openid profile email.