I am trying to use an "after registration" hook, B...
# talk-keto
s
I am trying to use an "after registration" hook, But when my hook is called I see user_id=00000000-0000-0000-0000-000000000000 https://github.com/ory/kratos/discussions/3477 implies that marking the hook as "parse: false" will allow it to contain real values. Unfortunately we want the hook to perform two functions: setting default public_metadata by returning data, and publishing the new userID to any active UI clients. Is there really no way to do this? I guess my hook code can enumerate all sessions, and then send UI updates for any that are les than 10 secs old but that feels rather clunky...
r
Use two hooks 🙂
s
genius! Thanks