Google One Tap
To enable Google One Tap login functionality within Conscent's client environment, follow the steps below:
Last updated
To enable Google One Tap login functionality within Conscent's client environment, follow the steps below:
Last updated
Initialization Process: To initialize Google One Tap login, use the following parameters:
Parameter | Description |
---|---|
Parameters Overview
The argsObject will return the following object type:
getNotDisplayedReason: Provides reasons for not displaying the One Tap prompt. Choose from the available options.
isDisplayed: Indicates whether the One Tap prompt is displayed.
isNotDisplayed: Indicates whether the One Tap prompt is not displayed.
getSkippedReason: Provides reasons for skipping the One Tap prompt.
Ensure the following URLs are whitelisted according to the environment:
Sandbox: https://
sandbox-sso-v2.netlify.app/
Production: https://
slp-v2.netlify.app/
clientId
The unique identifier provided by Conscent for authenticating the client.
contentId
The ID of the content where the One Tap login is integrated.
successCallback
A callback function is triggered upon successful user login.
oneTapArgs
A callback function returns information related to the One Tap process, including any errors or reasons for not displaying the One Tap prompt.