Join Slack
Powered by
Hi, I have a quick question on why there is a diff...
# contributors
f
faint-toddler-5440
10/13/2022, 8:54 PM
Hi, I have a quick question on why there is a difference in Kratos on the ReturnTo depending on flows: On the login, if you're already logged-in, you get redirected to the propre ReturnTo URL: See here:
https://github.com/ory/kratos/blob/master/selfservice/flow/login/handler.go#L353
Whereas on the Registration Flow, If you're already logged-in, you get redirected only to the default URL: See here:
https://github.com/ory/kratos/blob/master/selfservice/flow/registration/handler.go#L252
I was wondering if it was by design, or it was a 'bug' ?
7
Views
Open in Slack
Previous
Next