Hi, I am configuring the flow of registration on o...
# ory-network
f
Hi, I am configuring the flow of registration on our ory account. We have webhook that do not allow user to login if some condition happend. If they try to register from the login view, they have a return flow with code already configured and get at the end of the verification flow of email an error OAuth flow failed. because the webhook reject the login. I see three way of solving this: • configure the verification flow to not login • remove the verification flow after registration, • Remove the inscription from the login page I would prefer the first option or the last one. Can you help me to configure this.
Remove the verification flow after the registration lead to the same error
would that works: ory patch identity-config {project_id} \ --add '/selfservice/flows/verification/after/password/hooks=[{"hook": "revoke_active_sessions"}]'
No one?