# Login endpoint based on username / password without using universal login

**URL:** <https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [July 25, 2023, 2:52pm UTC](https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045 "2023-07-25T14:52:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omar.camacho](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@omar.camacho](https://community.auth0.com/u/omar.camacho)\
**Post date:** [July 25, 2023, 2:52pm UTC](https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045/1 "2023-07-25T14:52:38Z")

</div>

Hi,

I would like to know if there is an endpoint to login with username and password without using universal login?

I see that I can use the Auth0.js library, but I would like to use an endpoint from either the Management API or the Authentication API, only passing the username and password and returning its access\_token could you please tell me which endpoint I can use?

I also see that I can generate a token with username and password using [‘Resource Owner Password’](https://auth0.com/docs/api/authentication?http#resource-owner-password), but using this would tell auth0 that the user is logged in?

For example, I see there is an endpoint for logout [Authentication API Explorer](https://auth0.com/docs/api/authentication?http#logout), so there is a similar endpoint for login?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![omar.camacho](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@omar.camacho](https://community.auth0.com/u/omar.camacho)\
**Post date:** [August 1, 2023, 7:24pm UTC](https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045/3 "2023-08-01T19:24:55Z")

</div>

Wow, 7 days and without help how can I recommend auth0 if I see that the community help is lousy

---

<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:** [August 1, 2023, 8:05pm UTC](https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045/4 "2023-08-01T20:05:51Z")

</div>

Hey there @omar.camacho, I apologize for the delayed response! We try our best here to get back to as many users as possible 🙂

> [@omar.camacho](#):
>
> I see that I can use the Auth0.js library, but I would like to use an endpoint from either the Management API or the Authentication API, only passing the username and password and returning its access\_token could you please tell me which endpoint I can use?

You will need to use the Authentication API to perform a resource owner password grant (ROPG).

> [@omar.camacho](#):
>
> I also see that I can generate a token with username and password using [‘Resource Owner Password’](https://auth0.com/docs/api/authentication?http#resource-owner-password), but using this would tell auth0 that the user is logged in?

The user will be “authenticated” but not necessarily “logged in” in the sense that no session is established at Auth0 (the authorization server).

This [documentation](https://auth0.com/docs/get-started/authentication-and-authorization-flow/call-your-api-using-resource-owner-password-flow#request-tokens) should be useful!

---

<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:** [August 15, 2023, 8:06pm UTC](https://community.auth0.com/t/login-endpoint-based-on-username-password-without-using-universal-login/112045/5 "2023-08-15T20:06:39Z")

</div>

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