K
K
Kolya Vantukh2017-08-03 11:59:10
Google
Kolya Vantukh, 2017-08-03 11:59:10

How to make google api login via popup and not in new tab?

I'm signing in with Google, I need the login page to open in popup, not in a new tab. in mozilla, the code from the api documentation opens everything as it should, but in chrome and opera, the entrance is carried out in a new tab. how to fix ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shashenkov, 2017-08-03
@teknik2008

It is necessary through js to open a new window with a link
And when the authorization is over - close

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question