I have written the code to enable Website Google login. Everything works well but during a redirect URI from Google my code is unable to retrieve email and profile details.
I am seeing the following error:
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See [login to view URL]",
Attached is the code is written in AngularJS 1.6. Your task is to help fix this problem remotely.