loud-helmet-81363
10/08/2023, 2:26 PMacoustic-shampoo-32095
10/08/2023, 7:21 PMacoustic-shampoo-32095
10/08/2023, 8:31 PMloud-helmet-81363
10/09/2023, 5:46 AMmagnificent-energy-493
I think the best way would be to save only authentication relevant information into the traits of the identity in kratos.Definitely! This is because while you can get data from Ory, it is much more efficient to have business logic in your db where you can do proper database operations. If you want the user to create the identity in self-service you would use the frontend API. If you want to create the identity and “invite” the user, then admin API and recovery flow.
Why would I want to create my user before the identity?I think in Alis case he wants to create a userID beforehand in his database and then use that in the Ory identity. Another way could be to use Ory Actions webhooks to add the userID as metadata to the identity, but both are fine!
loud-helmet-81363
10/09/2023, 8:52 AMloud-helmet-81363
10/09/2023, 8:53 AMmagnificent-energy-493
loud-helmet-81363
10/09/2023, 9:07 AMcolossal-engine-74704
10/09/2023, 8:27 PMI want to create my user before the identity? :thinking_face:
imagine you are a doctors office, someone new calls for an appointment, you set them up a profile(user) and then a link to complete their setupcolossal-engine-74704
10/09/2023, 8:29 PMloud-helmet-81363
10/10/2023, 5:02 AM