# How to create a user with no password, or if impossible, include password in verification email

**URL:** <https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270>\
**Category:** Get Help\
**Created:** [February 22, 2021, 1:28pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270 "2021-02-22T13:28:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabs](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fabs/32/13774_2.png) [@fabs](https://community.auth0.com/u/fabs)\
**Post date:** [February 22, 2021, 1:28pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270/1 "2021-02-22T13:28:20Z")

</div>

I’m not sure if this would be an “invite flow” or “invite-only flow”, or what, but we have a web app (SPA Angular appwith a .Net Core Web API) where the main user (administrator) creates an account with our software package on our web app, and then our API creates an account on Auth0 using the Management API. The administrator then can create as many users as he likes for his staff/employees. Again, for each of these users, our API creates a user on Auth0 using the Management API. Since, as far as I’m aware, a user must be assigned a password at the moment of creation, the administrator must pick a password for each user he creates. Auth0 then automatically sends out an email to each of these users asking them to verify their email address. When the user follows this link, it takes them to the Auth0 login screen where they have to fill in their email address and password. However, the user doesn’t know what his password is unless the administrator tells him.

My question is: is there no way at all to defer picking a password until the user logs in for the first time? Upon first logon, the user could pick their own password.  
Alternatively, if a password MUST be set at the moment of creating the user, could this password be displayed to the user in the email verification email? I would essentially treat this as a temporary password, as I would also require the user to change their password upon first logon in this case.,

Thanks

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 22, 2021, 1:41pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270/2 "2021-02-22T13:41:02Z")

</div>

Hi @fabs .

You can create users without a password when carrying out a bulk import into a database connection, they would then need to go through the password reset flow before they could login.  
[https://auth0.com/docs/users/bulk-user-imports](https://auth0.com/docs/users/bulk-user-imports)

Please see the documentation here on a way you could implement an invite flow using our current feature set:

> **[Send Email Invitations for Application Signup](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup)**
>
> Describes how to customize the signup process to invite users to signup for an account in the context of a specific Auth0 application.

Using the above you re-purpose the reset password flow as a “choose your new account password”, and you can customise the Password Reset page so the text makes more sense in this context for your end-users.

---

<div class="post-metadata">

**Author:** ![fabs](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fabs/32/13774_2.png) [@fabs](https://community.auth0.com/u/fabs)\
**Post date:** [February 22, 2021, 2:15pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270/3 "2021-02-22T14:15:42Z")

</div>

Thanks, sgo. So, I guess I would then turn off automatic sending of verification emails in this case, so that the user doesn’t automatically receive a verification email when the administrator creates his account. And then, after his account is created, my API could send the user an “Auth0 change password email” using a customized email template to make it look like a “choose your new password account” email.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 22, 2021, 2:23pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270/4 "2021-02-22T14:23:33Z")

</div>

Yes, that’s right 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 9, 2021, 2:24pm UTC](https://community.auth0.com/t/how-to-create-a-user-with-no-password-or-if-impossible-include-password-in-verification-email/58270/5 "2021-03-09T14:24:15Z")

</div>

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