Google Achievements in WebGL

Hi,

I’m trying to implement Google Achievements in WebGL. So far I was able to implement the Google sign in.
Now I’m trying to perform Authorization using the following URL
https://www.googleapis.com/auth/games
And I’m getting the following error
No ‘Access-Control-Allow-Origin’ header is present on the requested resource
I searched about it and it says I have to implement Cross-Origin Resource Sharing, just wanted to confirm if that’s the problem or its something else.

I’m new to web development so please bear with my questions.

Hi, you just need to add extension of CORS, and it will resolve automatically.
can you please tell me how you implemented Google Signin for WebGL. I got stuck in it from 2 Days