Api.web3auth.io/session-service routes are now blocking requests from localhost through CORS

The requests from localhost to the following endpoint are now being blocked through CORS rules:

https://api.web3auth.io/session-service/v2/store/get

This makes it difficult to develop a test environment of our app whilst integrating with Metamask Embedded Wallets.

Request from localhost (the Acces-Control-Allow-Origin is missing in the response):



curl -i -X OPTIONS "https://api.web3auth.io/session-service/v2/store/get" 
-H "Origin: http://localhost:3000" \
-H "Access-Control-Request-Method: POST"
HTTP/1.1 200 OK
Date: Fri, 06 Nov 2026 11:32:31 GMT
Content-Type: text/plain
Content-Length: 4
Connection: keep-alive
Set-Cookie: AWSALBTG=<...>; Expires=Fri, 13 Nov 2026 11:32:31 GMT; Path=/
Set-Cookie: AWSALBTGCORS=<...>; Expires=Fri, 13 Nov 2026 11:32:31 GMT; Path=/; SameSite=None; Secure
Set-Cookie: AWSALB=<...>; Expires=Fri, 13 Nov 2026 11:32:31 GMT; Path=/
Set-Cookie: AWSALBCORS=<...>; Expires=Fri, 13 Nov 2026 11:32:31 GMT; Path=/; SameSite=None; Secure
Content-Security-Policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Allow: POST
Vary: Accept-Encoding

Request from any other domain (the Acces-Control-Allow-Origin is now present in the response)

curl -i -X OPTIONS "https://api.web3auth.io/session-service/v2/store/get" 
-H "Origin: https://dev.my-app.com" \
-H "Access-Control-Request-Method: POST"
HTTP/1.1 204 No Content
Date: Fri, 06 Nov 2026 11:49:34 GMT
Content-Length: 0
Connection: keep-alive
Set-Cookie: AWSALBTG=<...>; Expires=Fri, 13 Nov 2026 11:49:34 GMT; Path=/
Set-Cookie: AWSALBTGCORS=<...>Expires=Fri, 13 Nov 2026 11:49:34 GMT; Path=/; SameSite=None; Secure
Set-Cookie: AWSALB=<...>; Expires=Fri, 13 Nov 2026 11:49:34 GMT; Path=/
Set-Cookie: AWSALBCORS=<...>; Expires=Fri, 13 Nov 2026 11:49:34 GMT; Path=/; SameSite=None; Secure
Access-Control-Allow-Origin: https://dev.my-app.com
Vary: Origin
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,PUT,PATCH,POST,DELETE
Access-Control-Allow-Headers: Content-Type,x-api-key,x-embed-host,sentry-trace,baggage,x-web3-correlation-id,pubkeyx,pubkeyy,verifier,verifier_id,verifierId,clientId,network,enable_gating,enableGating,authorization,wallet_provider,web3auth_network,client_id
Access-Control-Max-Age: 86400


1 Like

Same here, starting today. This breaks Google login on our local dev setup, and it worked on localhost until today.

Setup: @web3auth/no-modal 9.5.x with AuthAdapter (redirect mode), SAPPHIRE_DEVNET, Solana. The createSession call to /session-service/v2/store/set fails during connectTo, so login never completes..

Can someone from the team confirm whether this is intentional, and if so, what the recommended local dev setup is?

We have temporarily paused the Embedded Wallet service due to an ongoing security issue. We’ll get back to you as soon as possible with an update.

1 Like

The service is now functional