Reputation: 315
I am trying to use SecureSocial 2. When I trying to use existing account e.g. Google it gives me error:
Error: invalid_client
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code redirect_uri=http://localhost:9000/authenticate/google
state=736c4f77-14e8-4cde-ac61-7df8796067ba
client_id=your_client_id
Please tell me what should I do to sort it out. Thanks a lot.
Upvotes: 1
Views: 882
Reputation: 21564
You have to register your app on Google, which will provide a client id and a client secret.
Take a look at this doc from Google: https://developers.google.com/accounts/docs/OAuth2
Upvotes: 2