Skip to content

Commit fdd8195

Browse files
committed
Update error message
1 parent 062ed02 commit fdd8195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/stack/src/lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function consumeOAuthCallbackQueryParams(expectedState: string): null | URL {
7272
if (expectedState !== originalUrl.searchParams.get("state")) {
7373
// If the state doesn't match, then the callback wasn't meant for us.
7474
// Maybe the website uses another OAuth library?
75-
captureError("consumeOAuthCallbackQueryParams", new Error(`Invalid OAuth callback state: Was this meant for someone else, or did cookies fail?`));
75+
captureError("consumeOAuthCallbackQueryParams", new Error(`Invalid OAuth callback state: Are you using another OAuth authentication with the same callback URL as Stack, or did your cookies reset?`));
7676
return null;
7777
}
7878

0 commit comments

Comments
 (0)