Opening Sign In user authentication in a pop-up window, you must open it in the same tab using OAuth 2.0

I use OAuth 2.0 for google SingIn, it opens a popup for user authentication, but I want to open it on the tab itself, please help me. Thanks in advance.

+5
source share
1 answer

A popup window opens if you use the Google JavaScript login library. You should use server side api client libraries for authentication / authorization without popup. https://developers.google.com/identity/protocols/OAuth2WebServer

+2
source

Source: https://habr.com/ru/post/1243291/


All Articles