Google OAuth2 CORS Error

I’m trying to use the Oauth2 Component with Google as the service provider. Have everything setup as per my knowledge from the docs and reading posts on the forum. However can’t solve this CORS error.


My setup is as follows. I call a google_login server connect which calls the Oauth2 provider. I have also added “http://localhost:3000” in the google dashboard as an Authorised JavaScript origin.


image
Can anyone suggest what could be going wrong?

Community Page
Last updated: