Documentation Index
Fetch the complete documentation index at: https://auth0-feat-authentication-api-migration.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /oauth/token
This is the OAuth 2.0 grant that server processes use to access an API. Use this endpoint to directly request an access token by using the application’s credentials (a Client ID and a Client Secret).
Responses
200
A successful response will return an access token.Learn More
- Client Credentials Flow
- Call API using the Client Credentials Flow
- Setting up a Client Grant using the Management Dashboard
- Asking for Access Tokens for a Client Credentials Grant
Parameters
A DPoP proof for the request. This is optional and only required if your application uses Demonstrating Proof-of-Possession.
Request Body
Denotes the flow you are using. For Client Credentials use
client_credentials.Allowed values: client_credentialsYour application’s Client ID.
Your application’s Client Secret.
The unique identifier of the target API you want to access.
The identifier of the target API (resource server) you want to access. Must match an API Identifier registered in your Auth0 tenant. Used as an alternative to
audience when the tenant’s Resource Parameter Compatibility Profile is set to compatibility.[Recommended]The organization or identifier with which you want the request to be associated. To learn more, read Machine-to-Machine Access for Organizations.
Response
| Status | Description |
|---|---|
| 200 | Successful response |