# Can a user automatically authenticate after password reset?

**URL:** <https://community.auth0.com/t/can-a-user-automatically-authenticate-after-password-reset/93613>\
**Category:** Get Help\
**Tags:** invitations, password-reset\
**Created:** [November 3, 2022, 4:50am UTC](https://community.auth0.com/t/can-a-user-automatically-authenticate-after-password-reset/93613 "2022-11-03T04:50:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.butler](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.butler/32/40997_2.png) [@adam.butler](https://community.auth0.com/u/adam.butler)\
**Post date:** [November 3, 2022, 4:50am UTC](https://community.auth0.com/t/can-a-user-automatically-authenticate-after-password-reset/93613/1 "2022-11-03T04:50:23Z")

</div>

We want to invite users to fill out details in our system as painlessly as possible.

I am thinking to create auth0 users and email them to complete sign-up. I read though documentation [here](https://auth0.com/docs/customize/email/send-email-invitations-for-application-signup) and it looks like there is an extra step for the user.

First they must set their password. Next they need to authenticate.

We know the user is who they say when they set the password because they followed the link in the email. Is there some way we could just authenticate them automatically? ie. they set their password and we programmatically authenticate them without them having to type it again?

If it makes any difference we use withAuthenticationRequired from auth0-react

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [November 3, 2022, 9:21pm UTC](https://community.auth0.com/t/can-a-user-automatically-authenticate-after-password-reset/93613/2 "2022-11-03T21:21:46Z")

</div>

Hey there @adam.butler welcome to the community!

> [@adam.butler](#):
>
> We know the user is who they say when they set the password because they followed the link in the email. Is there some way we could just authenticate them automatically? ie. they set their password and we programmatically authenticate them without them having to type it again?

Unfortunately, there isn’t a way to carry out an automatic login following password reset currently but they can be redirected straight to it if you aren’t already doing that. The following thread goes into this in a bit more detail:

> [@Redirect / result\_url in change password ticket not working](https://community.auth0.com/t/redirect-result-url-in-change-password-ticket-not-working/26141):
>
> Hi, I’m struggling with the user redirect after a password reset on the hosted page. It looks as if result\_url would be completely ignored. Here’s what I do: I create a password reset ticket (handing over user\_id and result\_url). All works fine, page opens, password is changed, success message shown. Result\_url is 1:1 as in the allowed callback urls of both: Enduser app and M2M app. It always just stays on the the changed password success page. Any hint? Warm regards, Sebastian

I did a quick search in our [feedback section](https://community.auth0.com/c/feedback/95) and was surprised to not see anything related to this - It might be worth adding it yourself if you’ve got a minute! Our product team monitors these pretty closely for community engagement.

---

<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:** [November 17, 2022, 9:22pm UTC](https://community.auth0.com/t/can-a-user-automatically-authenticate-after-password-reset/93613/3 "2022-11-17T21:22:35Z")

</div>

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