From 900b4c91091360344e2a4b26c80035fc59d9a0c3 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 19:27:46 +0000 Subject: [PATCH] Improve PKCE cookie missing error message Replace the technical error message with a more user-friendly, solution-oriented message that advises the user to try signing in again rather than referencing internal implementation details like Set-Cookie header propagation. --- src/core/AuthKitCore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/AuthKitCore.ts b/src/core/AuthKitCore.ts index 168a02a..f537b7a 100644 --- a/src/core/AuthKitCore.ts +++ b/src/core/AuthKitCore.ts @@ -194,7 +194,7 @@ export class AuthKitCore { } if (!cookieValue) { throw new PKCECookieMissingError( - 'PKCE verifier cookie missing — cannot verify OAuth state. Ensure Set-Cookie headers are propagated on redirects.', + 'Sign-in session could not be verified. Please try signing in again.', ); } const encoder = new TextEncoder();