i have initiate google one-tap
login on our site
it seems that the section of privacy policy
& terms of service
are missing.
how can i show them?
Example of one-tap popups from other sites on the internet:
our implementation based on:
https://developers.google.com/identity/gsi/web/reference/js-reference
and look like this:
<script src="https://accounts.google.com/gsi/client" async defer></script>
<script>
google.accounts.id.initialize({
client_id: googleClientId,
callback: handleCredentialResponse,
cancel_on_tap_outside: false,
context: 'signin',
});
google.accounts.id.prompt();
</script>
our GCP
application
OAuth consent screen
tab:
Finally i have found the answer here:
How to show privacy policy URL and terms of service URL inside the Google one-tap UI for new users?
ensure you have supplied a privacy policy and/or terms of service link in the Google Developer Console for the OAuth project / client ID that you using in the API requests (under "consent screen" in the credentials section). Refer to the Getting Started guide for background.
verify that the active Google Account(s) has not already granted access to name/email address info via previous usage of one-tap or Google Sign-In button. You can check and reset this at https://myaccount.google.com/permissions
as wrote there: