You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|| native_callback |`(response: { id: string; password: string }) => void`| The JavaScript password credential handler function name |
222
222
|| prompt_parent_id |`string`| The DOM ID of the One Tap prompt container element |
223
223
|| nonce |`string`| A random string for ID tokens |
224
+
|| state |`string`| This string returns with the ID token |
224
225
|| context |`signin`\|`signup`\|`use`| The title and words in the One Tap prompt |
225
226
|| state_cookie_domain |`string`| If you need to call One Tap in the parent domain and its subdomains, pass the parent domain to this attribute so that a single shared cookie is used |
226
227
|| allowed_parent_origin |`string`\|`string[]`| The origins that are allowed to embed the intermediate iframe. One Tap will run in the intermediate iframe mode if this attribute presents |
/** If set, this [function](https://developers.google.com/identity/gsi/web/reference/js-reference#click_listener) will be called when the Sign in with Google button is clicked. */
102
102
click_listener?: ()=>void;
103
+
/** If set, this [string](https://developers.google.com/identity/gsi/web/reference/js-reference#state) returns with the ID token. */
0 commit comments