authenticate
Authenticate a user to Venly
This function will check if the user is authenticated and if not, ask the user to authenticate.
If
windowMode
= 'REDIRECT', the user will be redirected tooptions.redirectUri
with the result after logging in.If
windowMode
= 'POPUP', the popup will close and the promise resolved when the user finishes the request. No extra options are required.
If you set the redirectUri
option, make sure that the SDK and the AuthenticationResult
handling is also present on the page you redirect to.
Signature
Returns
Parameters
Parameter | Type | Required | Description |
|
| Provide extra auth options |
Examples
Object Types
pageAuthenticationOptionspageAuthenticationResultpageKeycloakInstanceLast updated