Replies: 1 comment 5 replies
-
Yeah I think this would be great. One consideration would be that the hook could update the flow, so that we can share information about the reason why the flow failed with the UI |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
In this #1289 where webhooks were implemented there was and idea hinted about implementing hooks in a way that they can interrupt/influence flow they are part of. For example in login flow hook may be used to trigger some additional checks or execute some complex business logic and depending on the results it may abort the flow (returning an proper error/message) or follow with the standard flow if status returned by hook allows.
I still have to take a look at the code but I was wondering what are your thoughts about this and if the are any special consideration that we should make while working on this?
Beta Was this translation helpful? Give feedback.
All reactions