Resetting a authentication flow with a custom message or error message

Is there any way I can reset the current flow (resetting the try attempts on each execution) within a custom SPI?

I realized there is context.resetFlow() but is there any way to reset the flow (ie land the user on the first execution) and display a message, an error message or basically pass something into the initial template, an attribute etc.?

1 Like