[Archive] CORS Error on social media login for Goerli Testnet

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by githubdiscussions on 10/27/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.


hello all, i'm testing social media logins and getting the following CORS errors specifically with goerli, when i switch to mumbai it works perfectly. Is there a way to resolve this? thanks!

Access to fetch at 'https://goerli-light.eth.linkpool.io/' from origin 'https://demo.one2all.io/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
goerli-light.eth.linkpool.io/:1 Failed to load resource: net::ERR_FAILED

errors.js:118 Uncaught (in promise) Error: Response has no error or result for request
at i (errors.js:118:12)
at Object.internal (errors.js:28:28)
at A.t.sendAsync (baseControllers.esm.js:525:13)
at async A.t.request (baseControllers.esm.js:554:5)
at async re.getEIP1559Compatibility (index.ts:162:11)
at async re.init (index.ts:30:10)
at async ie.setupProvider (EthereumPrivateKeyProvider.ts:60:36)
at async u.connectWithProvider (openloginAdapter.ts:233:8)
at async u.connect (openloginAdapter.ts:136:7)
at async Te.connectTo (core.ts:171:5)
at async we. (modalManager.ts:303:7)



Originally posted by: chusla

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/778