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
The new google SDK does not maintain your web app's signed-in status or session state.
The signed-in status of a Google Account, and your app's session state and signed-in status are distinct, separate concepts. From google docs
So to log out users from your app, you don't need to call anything from the google side, log them out by updating your state,
the only time you need to call it, If you are using automatic auto_select prop (true) sign-in in google with one tap. google docs.
When users sign out of your website, they can be directed to a page where a Google One Tap prompt is automatically displayed. For this setup, auto-selection must be prohibited. Otherwise, the user is automatically signed in again, which leads to a dead-loop UX.
How exactly is this function supposed to work?
In source code I see only:
declare function googleLogout(): void;
The text was updated successfully, but these errors were encountered: