-
Hello! I'm looking at using Kratos as the auth layer for another API, and I want to ensure a valid user can be created in the API's database when a user is created with the self-service flow in Kratos. I saw that using a registration webhook and responding with an HTTP code over 300, I can decide whether to approve or deny the flow - but the user still gets created in Kratos, since subsequently attempting to register under the same email/username will return an error saying that a user with that identifier already exists. I thought the before hook might be able to do this, but the before hook doesn't actually carry any information about the user attempting to register? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello there, this is currently being worked on: #1585 |
Beta Was this translation helpful? Give feedback.
Hello there, this is currently being worked on: #1585