B
B
Boogie19892016-08-05 15:42:00
Google
Boogie1989, 2016-08-05 15:42:00

How to login with Google using Angular?

Urgently need help. Is it possible to somehow register / log in through Google using only Angular? That is, I need to open a modal with the Google authorization page and get all the information in the callback without losing the application state. How to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
yociyavi, 2016-08-05
@yociyavi

It is impossible, because Google should redirect to the page specified in the project settings.

B
bromzh, 2016-08-05
@bromzh

You can drop the state into localstorage, and after returning from the Google page, restore it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question