Hi All, it seems it is not possible to verify an email for a disabled account. Is this on purpose? We automatically disable accounts (via web hook) after registration. When the user clicks the registration email it is not marked as verified.
b
bland-eye-99092
08/26/2022, 4:11 PM
Interesting use-case! We are currently investigating an issue where verification links are disabled if the identity is updated via the admin API before the user clicked the link. That sounds a lot like your case!
See https://github.com/ory/kratos/issues/2433 for more information. This is definitely on our roadmap to be fixed, though we can’t say when this will be resolved.
As an alternative, Ory Kratos does have the ability to restrict what users without verified addresses can do: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#account-activation
s
steep-zebra-47836
08/26/2022, 4:13 PM
Cool, thx for the super fast reply. I'll keep an eye on the Github issue and explore the suggested alternative. Highly appreciated!