How to get the user their password that was used with CreateUser

I am calling the CreateUser method of the ManagementAPI, it requires a password. So if i am setting the password initially for the user how can i include their temporary password in their Verification email. Also, is there a way to force a password change when they log in the first time?

Hi @phil.fitzgerald

I’m linking to another community article that offers a couple options to handle this type of situation.

In that post you can either leverage our Rules to redirect the Users and force a password change. Alternatively you could create the user with their ‘email_verified’ field send an email with a change-password URL (more information on that process can be found in the link).

Let me know if that helps cover your use-case.