Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Login to website using android account

I am building a responsive web application. It uses oauth login with google and it is working just fine (nodejs with passportjs).

When surfing the site from android phone and pressing 'login' I am getting the google login page, just as when using a desktop.

Is it possible to use the google account from Android instead of forcing the user to enter his credentials?

like image 745
Igal S. Avatar asked Sep 12 '15 12:09

Igal S.


People also ask

How do I find out what apps are connected to my Google Account?

Go to the Security section of your Google Account. Under “Third-party apps with account access,” select Manage third-party access. Select the app or service you want to review.


3 Answers

Integrate the google login in your website and i suppose it takes logged in chrome account and helps you log in! You can see it working :

Surf the **

stackoverflow

** website from your mobile, try log in , you will be provided with a button google login and after click it if the user is logged in to his android phone using the google account you will be logged in automagically(you must be registered to the stackoverflow website with same account and in your case the user must be signed in using same account

on your website)

like image 152
Uzair Avatar answered Oct 18 '22 23:10

Uzair


In case you do not store a generated keys based on the user and service within a domain e.g. tt is not possible without user enter the credentials when using a webpage.

like image 36
Andreas Mattisson Avatar answered Oct 19 '22 00:10

Andreas Mattisson


Basically what you are trying to do isn't possible, because if it was hypothetically I could login to your personal account from my desktop.

like image 2
Yzgeav Zohar Avatar answered Oct 19 '22 00:10

Yzgeav Zohar