redirectTo home with search parameters encodes the ?
Hi, I am passing a redirectTo to app state that contains url search parameters but after login I am redirected to a url with the question mark encoded. I would expect the behaviour to be that I am correctly redirected to a route with search parameters.
redirects me to:
/%3Ffoo=bar
3 Replies
ok, I think I am supposed to use the
on_redirect_callback
to make sure redirectTo is decoded properly. I am going to give it a go
yes that was it, I was able to decode the redirectTo
in the on_redirect_callback
.Looks like you have it, does this solve your use case?
yes, it does. Thank you