Hello everyone, I currently have an app where it i...
# talk-kratos
f
Hello everyone, I currently have an app where it is required to login with Google, but afterwards the email needs to be checked against an external app/db whether the email exists or not. If it doesn't exist then the authentication attempt should be rejected. How can I do this in Kratos?
p
Hi @fierce-farmer-49570 you can do this through Kratos webhooks upon registration / login
f
I assume that the Flow-interrupting webhooks is the thing I am looking for, correct?
I am also looking to populate additional fields/claims using the same external app/db, can I do that in the same post-login hook? do I use the adminUpdateIdentity HTTP API ? Or do I update the corresponding row in the
identities
table directly?
oof, apparently Ory Kratos v0.10.1 doesn't have can_interrupt yet