-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SignInButton
SignUpButton
redirectUrl
doesn't respect basePath
#2645
Labels
Comments
xixixao
added
the
needs-triage
A ticket that needs to be triaged by a team member
label
Jan 20, 2024
linear
bot
added
confirmed
and removed
needs-triage
A ticket that needs to be triaged by a team member
labels
Jan 29, 2024
Hi, thanks for the issue! To the best of our knowledge Next.js doesn't expose the For the time being I do recommend settings your base path in an environment variable or constant and use those across the config and paths. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preliminary Checks
Reproduction / Replay Link
https://github.com/xixixao/bug-clerk-next-redirectUrl
Publishable key
pk_test_cHJvcGVyLXdoaXBwZXQtNzcuY2xlcmsuYWNjb3VudHMuZGV2JA
Description
npm run dev
This only works because I added the
basePath
configured innext.config.mjs
toapp/page.tsx
to theredirectUrl
props. But the this should not be needed, and thebasePath
should be taken into account automatically.Environment
The text was updated successfully, but these errors were encountered: