function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhay RathoreAbhay Rathore 

How to allow salesforce community to login via google account

Hello,

I have created a community and want to use google for login and register users. I have done following :-
 a) Created a google Cilent ID 
 b) Created Salesforce Auth. Provider
 c) Enabled Auth. Provider to my community and got a button on login page.
 
 But when I click on the button I redirect to gmail login page and then "401. That’s an error.Error: invalid_client no support email" error is thrown. 
 Please suggest any way.
 
 Thanks.User-added image
PratikPratik (Salesforce Developers) 
Hi Abhay,

Please refer to below link, here you will find step by step approach:
http://www.tquila.com/blog/2014/02/04/allow-your-salesforce-users-log-using-their-google-credentials

Thanks,
Pratik
Abhay RathoreAbhay Rathore
Hello Pratik ,
Thanks for your reply. Actually I already followed all the stpes given on this link. I also got a button but after clicking on this button this error comes.
Please check the login page :-
https://savescloud-developer-edition.ap1.force.com/test1/login

Thanks. 
Emma WatsunEmma Watsun
Yeah, I had also faced the similar issue and I had no idea why would this happen to me. Then one of my friends told me about Optimum Customer Service (https://www.gmailtechnicalsupportnumbers.com/optimum-email-support/), to recover my email.