Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to know how to enable users to sign into my website using their google account, and then be able to access information such as their display name and profile picture. Any advice you can give would be helpful, keep in mind I have already tried this, which did provide me with the information to add the button to the page but not how to access the information of the user once they are logged in.

Thanks in advance,
Jordan
Posted

Hi,

Using Oauth you can achieve it.

There are lot of tutorials out there.You can try this out
http://www.9lessons.info/2012/09/login-with-google-account-oauth.html[^]


if you need any further help feel free to let me know.

Regards,
Zeeshan.
 
Share this answer
 
Comments
Sicppy 20-Oct-14 12:58pm    
I'm able to get the button on my page and define my scope and such, but I am confused on how to get the user's information and sign them out
Zeeshan17 24-Oct-14 10:54am    
Hi,
The article above contains all the steps for get users info and registering them to your database.If you are finding any difficult running it or any issue you can let me know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900