From 4375ce5fe6da71a7d57f900fb6b734b3220ff6b9 Mon Sep 17 00:00:00 2001 From: Connor Martin Date: Wed, 17 Dec 2025 19:08:18 -0500 Subject: [PATCH] Update authentication.mdx --- apps/docs/pages/sdk/guides/authentication.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/docs/pages/sdk/guides/authentication.mdx b/apps/docs/pages/sdk/guides/authentication.mdx index 35ff7ed10..c2c5666f3 100644 --- a/apps/docs/pages/sdk/guides/authentication.mdx +++ b/apps/docs/pages/sdk/guides/authentication.mdx @@ -19,6 +19,10 @@ Follow the [Onboard & Discover Accounts](/sdk/guides/discover-accounts) guide to ### Setup API & add `/siwe/nonce` +:::note +When developing locally in Chrome, you may encounter CORS errors when attempting to return a nonce. This can be resolved by navigating to chrome://flags/ and disabling `Local Network Access Checks` +::: + Next, we will set up our API endpoints for our authentication flow. Sign in with Ethereum [requires a nonce](https://eips.ethereum.org/EIPS/eip-4361#message-fields) to be generated by the server to prevent replay attacks. You will need to set up a API endpoint to return a nonce. For example, using [Hono](https://hono.dev) and [Viem](https://viem.sh).