From 4a5cdfb2fa5bd5df099896e750b699d2caf97571 Mon Sep 17 00:00:00 2001 From: Brian Cooper <20056195+coopbri@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:56:41 -0800 Subject: [PATCH] docs: restrict SIWE example nonce generation characters (#6741) --- docs/content/docs/plugins/siwe.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/plugins/siwe.mdx b/docs/content/docs/plugins/siwe.mdx index b5e49721b7..deb44cfd87 100644 --- a/docs/content/docs/plugins/siwe.mdx +++ b/docs/content/docs/plugins/siwe.mdx @@ -228,7 +228,7 @@ export const auth = betterAuth({ anonymous: false, getNonce: async () => { // Generate a cryptographically secure random nonce - return generateRandomString(32); + return generateRandomString(32, "a-z", "A-Z", "0-9"); }, verifyMessage: async ({ message, signature, address }) => { try {