Deprecated prop `afterSignInUrl` at `ClerkContextProvider` instead of `fallbackRedirectUrl` or `forceRedirectUrl`
RicardoGEsteves opened this issue · 2 comments
Preliminary Checks
-
I have reviewed the documentation: https://clerk.com/docs
-
I have searched for existing issues: https://github.com/clerk/javascript/issues
-
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
-
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
Publishable key
.
Description
The prop "afterSignInUrl" is deprecated and should be replaced with the new "fallbackRedirectUrl" or "forceRedirectUrl" props instead.
Environment
System:
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (2) x64 AMD EPYC
Memory: 1.97 GB / 4.01 GB
Container: Yes
Shell: Unknown
Binaries:
Node: 20.9.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.8.1 - /usr/local/bin/npm
pnpm: 8.10.2 - /usr/local/share/npm-global/bin/pnpm
npmPackages:
@clerk/nextjs: ^5.0.2 => 5.0.2
@types/node: ^20.12.7 => 20.12.7
@types/react: ^18.2.79 => 18.2.79
@types/react-dom: ^18.2.25 => 18.2.25
eslint: ^8.57.0 => 8.57.0
eslint-config-next: 14.1.0 => 14.1.0
next: 14.1.0 => 14.1.0
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
typescript: ^5.4.5 => 5.4.5
Hi! Thanks for the issue.
The codesandbox you linked to isn't accessible to me, I get a:
Devbox not found
It's likely that the Devbox you're trying to access doesn't exist or you don't have the required permissions to access it.
Please make sure that your reproduction is available for everyone. Judging from the screenshot you shared you're using Convex (it's in the stacktrace) so my best guess for now that the culprit is there.
Hi! Thanks for the issue.
The codesandbox you linked to isn't accessible to me, I get a:
Devbox not found
It's likely that the Devbox you're trying to access doesn't exist or you don't have the required permissions to access it.Please make sure that your reproduction is available for everyone. Judging from the screenshot you shared you're using Convex (it's in the stacktrace) so my best guess for now that the culprit is there.
sure @LekoArts , will update the reproduction.
I will check with convex team then, It make sense actually to be on the ConvexWithClerkProvider
.