acceptable-rain-21944
02/15/2023, 9:46 AMif f.Type == flow.TypeAPI || x.IsJSONRequest(r) {
s.d.Writer().WriteError(w, r, expired)
} else {
http.Redirect(w, r, expired.GetFlow().AppendTo(s.d.Config().SelfServiceFlowRegistrationUI(r.Context())).String(), http.StatusSeeOther)
}
return
To go into a bit more detail we have essentially two browser applications (hosted on separate subdomains, kratos.example.com, ui-1.example.com and ui-2.example.com)one for users and another one for admins. We'd like to be able to redirect the users to the browser application where the login/registration/etc flow was initiated from. Each application has it's own login ui page.echoing-bird-61980
02/15/2023, 6:42 PMacceptable-rain-21944
02/20/2023, 1:51 PM