Mirror User in backend on self-service registration

We are wanting to initialize the user’s profile/settings in our backend when they have created their account with self-service registration. I was looking at the inline hooks but it doesn’t look like that sends the user id? Is that true? If so what is the best way to make this happen? We don’t want to have an unsecured “create user” endpoint and would rather use hooks of some sort to make sure everything stays up to date. Thanks for any help or tips!

Per the documentation, I don’t see the user id in the payload but there is the email.
https://developer.okta.com/docs/reference/registration-hook/#sample-json-payload-of-request

Could you make an API call to the Users endpoint to retrieve the user id?
https://developer.okta.com/docs/reference/api/users/#get-user-with-login

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.