AuthenticationOptions

Signature

1
{
2
redirectUri?: string,
3
windowMode: WindowMode,
4
useOverlayWithPopup?: boolean,
5
closePopup?: boolean,
6
idpHint?: string
7
}
Copied!

Parameters

Parameter
Description
Example
redirectUri
The URI you want the user to be redirected after checking authentication. Only used when windowMode = REDIRECT. Not required, default is the current URI
'https://foo.io'
windowMode
Show login form in POPUP, or login using redirect. Default iswindowMode passed in ConstructorOptions.
'REDIRECT'
useOverlayWithPopup
When using a popup, show an overlay on the parent screen. Default is useOverlayWithPopup passed in ConstructOptions.
false
idpHint
When passed, the initial login screen where a user can choose between social logins and regular signings is skipped and goes directly to the given identity provider
google
facebook
twitter
Last modified 1yr ago
Copy link