문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top