

Page is your login page, in which case the credential is posted to this page by This attribute is the URI of your login endpoint. Required for One Tap and the popup UX mode See the following table for further information: Type One Tap or the Sign In With Google button popup UX mode is used. This field is the JavaScript function that handles the ID token returned from Interaction when there's only one Google session that has approved your appīefore. This field determines if an ID token is automatically returned without any user See the following table for further information: TypeĬlient_id: "CLIENT_ID." This field is your application's client ID, which is found and created in the Overrides the default intermediate iframe behavior when users manuallyĮnables upgraded One Tap UX on ITP browsers. Will run in the intermediate iframe mode if this field presents. The origins that are allowed to embed the intermediate iframe. Pass the parent domain to this field so that a single shared cookie is If you need to call One Tap in the parent domain and its subdomains, The title and words in the One Tap prompt The DOM ID of the One Tap prompt container element The JavaScript function that handles password credentials.Ĭancels the prompt if the user clicks outside the prompt. The Sign In With Google button popup UX mode use this The JavaScript function that handles ID tokens. The following table lists the fields and descriptions of the IdConfiguration Warning: The .initialize method should be called only once,Įven if you use both One Tap and button in the same web page. Web page will use the new configurations immediately.

initialize method, and all subsequent methods in the same You actually reset the configurations whenever you call the Only the configurations in the last call will be remembered and used. If you do call the .initialize method multiple times,.If you use multiple modules (like One Tap, Personalized button, revocation, You only need to call the .initialize method once even.Instance that can be implicitly used by all modules in the same web page. The .initialize method creates a Sign In With Google client The following code example implements the .initialize method See the following code example of the method: .initialize(IdConfiguration) The .initialize method initializes the Sign In With Google clientīased on the configuration object. To display the One Tap prompt or Sign In With Google button on your web pages. This reference page describes the Sign-In JavaScript API.
