Hi,
I get data from an external API (a backend workflow listen to webhooks).
From that data I need to create a user account (A)
Then, later on (B) , a few minutes or a few hours later, the user can come and login to my site and he is put into an onboarding flow where I want him to define his password.
What is the best practice to dealing with the password management in this situation?
If I use “create an account for somebody else” at A, then what’s the user password will be and if I don’t know it how will I be abble to modify it later on at B ?
My problems :
- “Create an account for somebody else” does not allow to set a password
- “sign the user up” might not work as this is run from a backend workflow, who is the user? Or will it work?
- “send magic login link” does not allow me to send this through my own mail provider and I don’t want to use the native one
Best to you