Closed jonahallibone closed 8 months ago
Hi!
Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it.
If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look.
Thanks for using Clerk!
In an effort to keep our GitHub issues clean and focused, we close any issues that are awaiting a reproduction after 8 days on inactivity, and it has been 7 days. This issue will be closed tomorrow unless a reproduction is produced. If it takes longer than this to get a reproduction, that's ok, just drop a comment and we will re-open the issue then.
Thanks for being a part of the Clerk community! 🙏
@jonahallibone Did you ever find a solution?
@jonahallibone Did you ever find a solution?
Nope
Preliminary Checks
Reproduction / Replay Link
NA
Publishable key
pk_test_bGliZXJhbC1zd2lmdC01NC5jbGVyay5hY2NvdW50cy5kZXYk
Description
This line seems to cause a race condition with the example in the docs.
Following this example here
When I do this, I
router.push("/")
but immediately get sent back to the previous URL. The only way around this is to pop-out of nextjs and usingwindow.location.href = newUrl
.While this works, it's definitely not ideal. Is there a new way to navigate after session changes or should I continue to use
window.location
?Environment