# Validate username and password without token

**URL:** <https://community.auth0.com/t/validate-username-and-password-without-token/83100>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [May 9, 2022, 6:09am UTC](https://community.auth0.com/t/validate-username-and-password-without-token/83100 "2022-05-09T06:09:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![monika.prakash](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/monika.prakash/32/13482_2.png) [@monika.prakash](https://community.auth0.com/u/monika.prakash)\
**Post date:** [May 9, 2022, 6:09am UTC](https://community.auth0.com/t/validate-username-and-password-without-token/83100/1 "2022-05-09T06:09:21Z")

</div>

Hi

In one of my scenario ,that is change password section, first I need to check the user entered current password is correct or not ? only need to give permission for change password if the old password is correct.

How can I check the password entered is correct with out creating token again ?

Is there any other api for this?

---

<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:** [May 11, 2022, 11:42pm UTC](https://community.auth0.com/t/validate-username-and-password-without-token/83100/4 "2022-05-11T23:42:13Z")

</div>

Hey there @monika.prakash, welcome back!

> [@monika.prakash](#):
>
> How can I check the password entered is correct with out creating token again ?
> 
> Is there any other api for this?

Given Auth0 doesn’t expose the user’s password, there may not be any way around this other than doing something like outlined in this post:

> [@Change password validation](https://community.auth0.com/t/change-password-validation/8158/10):
>
> Hi @alex.moss2516, Found this community thread while I was searching for something else. While Auth0 does not expose the user’s password, you may use the [Resource Owner Password Grant](https://auth0.com/docs/api-auth/tutorials/password-grant) to verify the user’s password for sensitive tasks. The actual usage of the password grant is to obtain an access token for the user. However, you can to send the incoming user’s password to the /oauth/token endpoint and if you get back a token, that means the entered password is correct. Please note that Resourc…

Hope this helps!

---

<div class="post-metadata">

**Author:** ![monika.prakash](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/monika.prakash/32/13482_2.png) [@monika.prakash](https://community.auth0.com/u/monika.prakash)\
**Post date:** [May 12, 2022, 8:00am UTC](https://community.auth0.com/t/validate-username-and-password-without-token/83100/5 "2022-05-12T08:00:23Z")

</div>

Hi @ty.frith ,

Thankyou 🙂

I need to confirm that there is any other method other than `/oauth/token` endpoint.  
Now I got confirmed.

Thank you for your response

---

<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:** [May 27, 2022, 8:01am UTC](https://community.auth0.com/t/validate-username-and-password-without-token/83100/6 "2022-05-27T08:01:20Z")

</div>

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