Redirect after login

Hey, I’m stuck at an issue . if I’m clicking a link like ‘/vehicles/car’ so as a user I expect that after login I will be redirected to the same path mentioned above, but the page that runs after login is default page, ie, ‘/vehicles’ . How can I manage this with keycloak ?
I’m working in a react project
@dasniko or anyone

How do you start the authentication process?
Which redirect_url query param do you provide in the auth call?
How is your client in Keycloak configured?
Please provide more information about your config/environment and what you do/call. From your description, one can only do blind guesses.

I had the same issue and redirect_url not working for me.

@dasniko 's questions still apply. There’s no way we can help you debug with so little information.