My attempt to implement Google One Tap is encountering issues as outlined in this guide. The errors displayed in the Chrome console are troubling.
Access to XMLHttpRequest at 'https://accounts.google.com/gsi/status?client_id=my_client_id&as=yz1XXXXpK8Vz3DHXXXXXXX' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
[GSI_LOGGER]: Check credential status returns invalid response.
_.t @ /_/gsi/_/js/k=gsi.gsi.en.rHUjsM-F3JE.O/am=RAE/d=1/ct=zgms/rs=AF0KOtV7_Nb/m=gis_client_library:34
Failed to load resource: net::ERR_FAILED
Note: I am currently working on my local machine, which might be causing the CORS error. Is there a way to test this setup on localhost? How can I proceed with resolving this issue?