# Allow user to set password on first login?

**URL:** <https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317>\
**Category:** Get Help\
**Tags:** registration\
**Created:** [September 9, 2022, 11:46am UTC](https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317 "2022-09-09T11:46:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![axl3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/axl3/32/33806_2.png) [@axl3](https://community.auth0.com/u/axl3)\
**Post date:** [September 9, 2022, 11:46am UTC](https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317/1 "2022-09-09T11:46:02Z")

</div>

Hi, is it possible to register a new user via the management API _and require the user to set a password when verifying their email address_?

I am currently working on an invite-only web app, and the only flow I have got working is this:

1. create user via management API, with a random password which is not recorded
2. user receives verification email
3. user verifies their account and is forwarded to the web app
4. web app instructs the user to return to auth0 and click “forgot password”

There seems to be a complicated alternative involving custom email senders and the forgot password template ([Send Email Invitations for Application Signup](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup)), but I feel like I must be missing something in the docs/API as the desired workflow seems so common.

Have I missed something, or is the desired workflow unsupported out-of-the-box?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 13, 2022, 6:15pm UTC](https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317/3 "2022-09-13T18:15:00Z")

</div>

Hi @axl3,

Welcome to the Auth0 Community!

I understand that you are trying to allow your users to set a password on their first login.

> [@axl3](#):
>
> Have I missed something, or is the desired workflow unsupported out-of-the-box?

In your current approach, it is possible to create a user using the Management API and have them verify their email and be redirected to your web app that instructs them to click on the Forgot Password.

However, the part where you have to instruct them to click on the forgot password to “set a password” for the first time, may seem confusing or misleading.

Instead, I recommend following the doc you shared to [Send Email Invitations for Application Signup](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup). This way, you can repurpose the Forgot Password template as an Email Invitation to allow users to set their password for the first time.

I hope this helps!

If you have any further questions or need help with implementation, please feel free to reach out!

Thank you.

---

<div class="post-metadata">

**Author:** ![axl3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/axl3/32/33806_2.png) [@axl3](https://community.auth0.com/u/axl3)\
**Post date:** [September 14, 2022, 7:08am UTC](https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317/4 "2022-09-14T07:08:55Z")

</div>

Thanks, Reuben. I’ve now switched to another auth provider, but will keep this in mind in the future.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 9:32am UTC](https://community.auth0.com/t/allow-user-to-set-password-on-first-login/90317/5 "2022-12-22T09:32:26Z")

</div>


