vue3-google-login icon indicating copy to clipboard operation
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.

Open jon-myers opened this issue 2 years ago • 0 comments

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:

Screen Shot 2022-10-19 at 2 28 21 PM

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?

jon-myers avatar Oct 19 '22 18:10 jon-myers