Hello. I want to implement invite codes for my ser...
# talk-kratos
a
Hello. I want to implement invite codes for my service. These codes are created and maintained at a dedicated invite service. Now I want to validate a provided code at registration. I know that webhooks are the way to go, but I don't have an idea on how to add the code input field to the registration page and how to propagate it through the flow so that it reaches the webhook. Do you have an idea on how I can achieve this?
h
Try searching for transient payload in the docs, it’s what you need
a
Ooh, that was implemented in the latest release, correct?
Alright, that's exactly what I need. Thank you!
m
@astonishing-family-88751 Would you be up to create a tutorial for this with me? If you could high-level record the steps you use to implement this, we can easily turn this into a great guide for others 🙂 Btw are you hosting Kratos yourself or using it through Ory Network? Happy to publish it under your name and promote your service a bit as well. Let me know if that is something you would be interested in!
a
@magnificent-energy-493 yeah sure, I'd be happy to help with that. I am self-hosting Kratos and Hydra, maybe I will switch to Ory Network in the future but for now self hosting is the most feasible solution for me
m
In any case, do keep me posted! I bet there are a few gotchas you have to figure out. Feel free to also contact me if you get stuck