Uh oh!
There was an error while loading. Please reload this page.
fix(nextjs): Propagate treatPendingAsSignedOut to auth from clerkMiddleware - #6477
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 1a8024a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
7537036 to
5733359ComparetreatPendingAsSignedOut to auth from clerkMiddlewaretreatPendingAsSignedOut to auth from clerkMiddlewaretreatPendingAsSignedOut to auth from clerkMiddlewaretreatPendingAsSignedOut to auth from clerkMiddleware1040314 to
1f127e5Compare📝 WalkthroughWalkthroughThis change updates the Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (21)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File ( |
1f127e5 to
c00fd88Compare@clerk/agent-toolkit@clerk/astro@clerk/backend@clerk/chrome-extension@clerk/clerk-js@clerk/dev-cli@clerk/elements@clerk/clerk-expo@clerk/expo-passkeys@clerk/express@clerk/fastify@clerk/localizations@clerk/nextjs@clerk/nuxt@clerk/clerk-react@clerk/react-router@clerk/remix@clerk/shared@clerk/tanstack-react-start@clerk/testing@clerk/themes@clerk/types@clerk/upgrade@clerk/vuecommit: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c00fd88 to
9b07830Compare9b07830 to
1a8024aCompareUh oh!
There was an error while loading. Please reload this page.
Description
Previously, the
treatPendingAsSignedOutwasn't being propagated to theclerkMiddlewarehandler. This PR fixes it by resolving the auth object on the handler itself using that option.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
Documentation
New Features