Hey Furkan! If I'm understanding your workflow correctly, these are the steps we should take to achieve this.
- User submits pre-screening form
- Create a user in the DB with form information
- Create a user in Kinde via the Management API. See here
The cool thing about this flow is that Kinde allows you to provide a
provided_id
field via the API which you can set as your local DB user ID. This way you can associate the user objects to one another.
An alternative to this flow (where registration comes first) could be:
- User registers via Kinde
- Kinde webhook syncs information to the local DB
- Onboarding form is filled and updated in local DB.