Replies: 1 comment 1 reply
-
Hello @sgrannan See here as well: https://www.ory.sh/docs/kratos/manage-identities/best-practices I use this webhook payload for example to create a new user in my business logic backend when there is a registration:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose a company has a registration page that includes some additional information they want to collect from the user. Things like desired product, number of items, and other preferences are included on the registration page. There would be a need to collect and use this information just once, for a downstream process.
Ideally, the
metadata_public
seems like a good place to put this data, as the data is not relevant nor sensitive much further past registration. Additionally, we don't want to have a multi-step process that feels cumbersome to the user with too many clicks. Ideally just one page to collect everything. Unfortunately it seems like designing atrait
appears to be only way to persist this data considering that the metatdata fields cannot be accessed by the "self-service" client APIs. The user would not necessarily be authenticated at that point; so we don't have access to our server API that could send payloads to/admin/identities
endpoints.Do you have any suggestions on how to get this information into the identity profile other than as a trait? Is there something I'm missing with the implementation of
metadata_public
that might allow us to ingest this information through the client APIs?Beta Was this translation helpful? Give feedback.
All reactions