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
forceRedirectUrl is not working when using SignInButton #3325
Comments
Is there a workaround for this? I am unable to launch my app since once the user completes their sign up using the SignUpButton on the homepage, they are not taken to my onboarding flow. I'm using the signup button like so:
But when I click the button I'm taken to I've also noticed that
doesn't build the right url. It gives me |
This comment was marked as spam.
This comment was marked as spam.
Hello everyone, props passed to the I will have an update for you within the day, thank you! |
This comment was marked as spam.
This comment was marked as spam.
@nikosdouvlis any updates here? Just to clarify -- the issue is that I tried side-stepping the issue through the corresponding environment variables and that didn't work either. |
I was able to use this as temporary workaround. But its not ideal:
|
This has been fixed with #3361 and was released in |
Hi! I'm still facing the same issue (I'm using the latest release, @clerk/nextjs 5.0.10). |
This issue only happens when I have a custom sign up/sign in page |
@Chenalejandro could you provide a minimal reproduction so we can investigate? Thanks! |
@BRKalow
Expected: redirected to the /test page, since we had forced it by adding forceRedirectUrl prop:
Actual: redirected to the root page The same happends when signing up I noticed that when clicking the SECOND sign-in button in /test, it redirected me to the /sign-in page with the following url parameters: If I remove |
@LekoArts please reopen. I'm still facing this issue. Please see my latest comments here: https://discord.com/channels/856971667393609759/1236251832763023420 |
I'm having the same issue using the JS library directly |
@spacecat Please provide a new reproduction if the old one with updated dependencies isn't showing your issue. On our end your reproduction with the fix worked. |
Preliminary Checks
Reproduction
https://github.com/spacecat/clerk-01
Publishable key
pk_test_ZXhvdGljLXJhYmJpdC00MC5jbGVyay5hY2NvdW50cy5kZXYk
Description
Steps to reproduce:
In Google Chrome:
For more info: https://discord.com/channels/856971667393609759/1236251832763023420
Expected behavior:
You should end up at /dashboard/blog
Actual behavior:
You end up at /dashboard
Environment
The text was updated successfully, but these errors were encountered: