Registration post_login_redirect_url

I'm using Nuxt for my web application and when creating the onboarding experience I'm trying to use the default Kinde registration experience out of the box as much as possible. There's two possible 'account types' on my platform and what I want to do is redirect the user to a URL based on an earlier step. Based on that, I set the post_login_redirect_url. E.g. <RegisterLink post_login_redirect_url="/registration/register-service-provider" :is_create_org="false"> <v-btn>Register</v-btn> </RegisterLink> However, it doesn't look like this URL is being respected and it is going to my default redirect_url after registration. (It is respecting is_create_org though). I have also made sure that the redirect URL is available in the Kinde app registration as well. Is there something I am doing wrong?
4 Replies
IkiTg07
IkiTg074w ago
Mmmm no Nuxt expert here but maybe
post_login_redirect_url
post_login_redirect_url
isn't a valid attribute. I checked on the docs and could'nt find it. Maybe try using the syntax with
to="/api/login"
to="/api/login"
there you should be able to add the post_login as a query param
TotalScrub
TotalScrubOP4w ago
Unfortunately I need to be able to register the user first (by call /api/login/) and I want to redirect them to the onboarding pages as a part of that process. For now I have a workaround using local storage which triggers a redirect, but I was hoping for something a bit cleaner. (Or I guess I could use a session cookie)
Daniel_Kinde
Daniel_Kinde4w ago
Hi @TotalScrub , Could you raise this as an issue on the Nuxt Module repo and I will get it checked into please?
TotalScrub
TotalScrubOP4w ago
GitHub
Post Registration URL · Issue #167 · nuxt-modules/kinde
Right now it doesn't look like there is a way to redirect users after they have registered through Kinde to a specific URL. This would be desirable to continue with the onboarding process in a ...
Want results from more Discord servers?
Add your server