From 192f10f4ad9eb44a612baaccfc71765d52c7e1ed Mon Sep 17 00:00:00 2001 From: Sergey Plaunov Date: Mon, 16 Sep 2024 11:40:16 +0300 Subject: [PATCH] fix: transient_payload is lost when verification flow started as part of registration (#3983) --- selfservice/flow/verification/flow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/selfservice/flow/verification/flow.go b/selfservice/flow/verification/flow.go index ca78688fc441..c82ac9148430 100644 --- a/selfservice/flow/verification/flow.go +++ b/selfservice/flow/verification/flow.go @@ -185,6 +185,7 @@ func NewPostHookFlow(conf *config.Config, exp time.Duration, csrf string, r *htt if err != nil { return nil, err } + f.TransientPayload = original.GetTransientPayload() requestURL, err := url.ParseRequestURI(original.GetRequestURL()) if err != nil { requestURL = new(url.URL)