Closed BiskremMuhammad closed 1 year ago
Hey @BiskremMuhammad - in order to help us figure this one out, we need a minimal reproduction. Is there any chance you'd be willing to put one together?
Hello 👋
We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏
Hello again 👋
After 40 days of no activity, we'll close this issue. Keep in mind, I'm just a robot, so if I've closed this issue in error, please reply here and my human colleagues will reopen it.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, I'm having this issue on a deployed version of the Next app, and i'm using netlify to host my app. The issue is on the Deployed version only though, it's working perfectly on the localhost. So first: i have a payment page at route
/payment/start
, and it's restricted, this is mymiddleware.ts
So, on a click of a button i'm using
router.push("/payment/start")
to navigate to this page. i also triedrouter.replace
but it also didn't work on the deployed app. on localhost, it's loading the Sign in form just ok, but on the deployed version it displayed the page and theuserId
isnull
(userId
from @clerkuserAuth()
) but if i reload the page on the deployed version with the restricted url NOW it shows up the sign in form!!Package + Version
@clerk/nextjs
Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
*Include the @clerk/ packages and their versions!**
Example:
Browser/OS
If applicable e.g.
Chrome {Version 115.0.5790.170 (Official Build) (arm64)}
,Node {v18.17.1}
,