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