Skip to content

Commit 4375ce5

Browse files
authored
Update authentication.mdx
1 parent eff34dc commit 4375ce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/docs/pages/sdk/guides/authentication.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Follow the [Onboard & Discover Accounts](/sdk/guides/discover-accounts) guide to
1919

2020
### Setup API & add `/siwe/nonce`
2121

22+
:::note
23+
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`
24+
:::
25+
2226
Next, we will set up our API endpoints for our authentication flow.
2327

2428
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).

0 commit comments

Comments
 (0)