Skip to content

Commit a044ff3

Browse files
committed
chore: add changeset
1 parent f355396 commit a044ff3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.changeset/full-frogs-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/backend': patch
3+
---
4+
5+
The `instanceof` check in `createClerkRequest` is allowing `Request` instances through, which means the required `cookies` object is never created/set on the instance. This causes an error in the TanStack Start middleware when `AuthenticateContext.getCookie` tries to access `cookies`. Instead of checking `instanceof`, we check for the presence of the `cookies` and `clerkUrl` keys to determine whether or not we're dealing with a `Request` or `ClerkRequest`

0 commit comments

Comments
 (0)