# Very basic question

**URL:** <https://community.auth0.com/t/very-basic-question/129217>\
**Category:** Get Help\
**Tags:** user-password-management, user-management\
**Created:** [March 8, 2024, 2:37am UTC](https://community.auth0.com/t/very-basic-question/129217 "2024-03-08T02:37:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![memurphyiii](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/memurphyiii/32/60429_2.png) [@memurphyiii](https://community.auth0.com/u/memurphyiii)\
**Post date:** [March 8, 2024, 2:37am UTC](https://community.auth0.com/t/very-basic-question/129217/1 "2024-03-08T02:37:51Z")

</div>

I’ve looked through many, many entries and I cannot seem to put my finger on the exact resolution to what I think is a simple question because there seems to be a few variations to authenticating in Auth0.

I want to get a JWT for a user to send to a partner who with authenticate back to Auth0. I believe in our code all we have to do is a POST request to https://{{domain}}/oauth/token with header ‘content-type: application/x-www-form-urlencoded’ and data:  
grant\_type=password  
username={{user being authenticated, in this case email in Auth0}}  
password={{password user being authenticated, in this case password in Auth0}}’  
scope=openid  
audience=https://{{domain}}/api/v2/  
client\_id={{client id from Auth0}}  
client\_secret={{client secret from Auth0}}

Is that basically it?

---

<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:** [March 20, 2024, 11:38pm UTC](https://community.auth0.com/t/very-basic-question/129217/3 "2024-03-20T23:38:32Z")

</div>

Hey there @memurphyiii !

Sorry for the delayed response here, but wanted to get back to you.

> [@memurphyiii](#):
>
> I want to get a JWT for a user to send to a partner who with authenticate back to Auth0.

I’m not sure exactly what you mean by this, so some more context/details could be useful.

> [@memurphyiii](#):
>
> in our code all we have to do is a POST request to https://{{domain}}/oauth/token with header ‘content-type: application/x-www-form-urlencoded’ and data:  
> grant\_type=password  
> username={{user being authenticated, in this case email in Auth0}}  
> password={{password user being authenticated, in this case password in Auth0}}’  
> scope=openid  
> audience=https://{{domain}}/api/v2/  
> client\_id={{client id from Auth0}}  
> client\_secret={{client secret from Auth0}}

This is an example of a [Resource Owner Password Flow](https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow) and will result in a a user’s ID and access token.

---

<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:** [April 3, 2024, 11:39pm UTC](https://community.auth0.com/t/very-basic-question/129217/4 "2024-04-03T23:39:09Z")

</div>

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