Closed baidut closed 4 years ago
{ "error": "idpiframe_initialization_failed", "details": "Not a valid origin for the client: https://utsciencestm.github.io has not been whitelisted for client ID 1093544076583-03qlvcjmfb9agmfi2088baaqa92suppj.apps.googleusercontent.com. Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID." }
idpiframe_initialization_failed: Not a valid origin for the client The Google Sign-in library requires that the domain registered in the Google Developers Console matches the domain being used to host the web page. Ensure that the origin you registered matches the URL in the browser.
{ "error": "idpiframe_initialization_failed", "details": "Cookies are not enabled in current environment." }
no need to provide API key
it works locally (localhost) but doesn't work on github pages
go to google api library and serach google sheets api enable it and create client key and add url