vue3-google-login
vue3-google-login copied to clipboard
Prompt not displaying in Chrome or Edge when not logged in to google or in incognito mode / private window.
I am using the googleOneTap({ autoLogin: false })
function upon mounting my app to trigger the login prompt. If I am browsing in a private window in firefox or safari, this appears:

In chrome and edge, nothing appears, and an error message is sent to the console:
Prompt was not displayed, reason for not displaying: opt_out_or_no_session
How can I ensure that this prompt window appears in chrome and edge when there is no currently active google session?