Skip to main content
Version: 4.0

Interface: WebOptions

Properties

authFlow

authFlow: "implicit" | "PKCE"

Authentication flow to use on web.

Default

PKCE


uiMode

uiMode: "current" | "popup"

Determines the UI mode to use with authentication.

"CURRENT" will replace the current window with the authentication provider, and "POPUP" will open the authentication provider in a new window/tab.

When this is set to "CURRENT", you will need to use the handleLoginCallback and handleLogoutCallback to complete the auth.