Very basic question

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?

Hey there @memurphyiii !

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

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

This is an example of a Resource Owner Password Flow and will result in a a user’s ID and access token.

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