bug: return_to query parameter is not enforced if user is already logged-on #2805
Closed
5 of 6 tasks
Labels
bug
Something is not working.
Preflight checklist
Describe the bug
If a user is already logged-in and tries to to use the browser registration flow,
he only gets redirected to the
default_redirect_url
instead of observing thereturn_to
parameter setup in the URL.For comparaison, the Login flow works as intended;
Reproducing the bug
return_to
setupRelevant log output
No response
Relevant configuration
Version
v0.10.1
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes
Additional Context
Bug seams to be around here:
Registration:
https://github.com/ory/kratos/blob/master/selfservice/flow/registration/handler.go#L252
Login:
https://github.com/ory/kratos/blob/master/selfservice/flow/login/handler.go#L353
The text was updated successfully, but these errors were encountered: