Hi, Is there any way to prohibit a user from chang...
# ory-network
d
Hi, Is there any way to prohibit a user from changing his e-mail address? We have a B2B product, and our customers invite their users. The users shall not be able to change their email address on their own. Is there any way to configure an identity or a schema like that?
h
You should be able to do that using a webhook
d
thanks for the quick response @high-optician-2097! I am not very familiar with webhooks yet. I assume that does not include that the field is disabled in the self-service UI, is it?
w
It won't be I think, but you will be able to attach an error to field if you properly format the response body.
You need to use interrupting webhooks on settings profile.
👍 1