kratos icon indicating copy to clipboard operation
kratos copied to clipboard

Show "resend code"-button in registration flow with show_verification_ui hook

Open ubiseb opened this issue 1 year ago • 0 comments

Preflight checklist

Ory Network Project

No response

Describe your problem

Testing out the kratos-selfservice-ui-node I noticed that the “resend code”-button is only available if starting a new verification by sending in an email address, but if registration is configured to have a after hook to show_verification_ui the email that the user registered with is not included and there is no “resend code”-button available. Is this a reason for why these views are different between the two use cases or was this use case not considered in the happy path during the implementation of verification via one time codes (https://github.com/ory/kratos/issues/2824)

Describe your ideal solution

"Resend code"-button is available in the verification screen after registration is submitted

Workarounds or alternatives

Manual inclusion of resend code button on verification page (but still need to handle sending email that was registered with to the verification flow)

Version

v1.0.0

Additional Context

No response

ubiseb avatar Feb 06 '24 10:02 ubiseb