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
proud-plumber-24205
09/08/2022, 8:09 AM
Hi @fierce-farmer-49570
you can do this through Kratos webhooks upon registration / login
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?
fierce-farmer-49570
09/08/2022, 10:10 AM
oof, apparently Ory Kratos v0.10.1 doesn't have can_interrupt yet