JSON Web Token Claims
Register a Machine-to-Machine Application
To integrate Auth0 with a machine-to-machine (M2M) application, you must first register your app with Auth0. This guide will show you how to register an M2M application using Auth0's Dashboard.
Enter a descriptive name for your Application, select Machine-to-Machine App, and click Create.
- Select the API you want to be able to call from your Application.
- Select the scopes you want to be issued as part of your Application's Access Token, and click Authorize.
Once the new M2M Application is created, you will be redirected to the Application's settings. Available tabs include:
- Settings: Shows all available settings for your application. By default, most of the settings will be created for you.
- Quick Start: Shows all the available examples for M2M applications. It also shows you how you can call your API using various technologies. To learn how to accept and validate Access Tokens in your API, see our Backend/API Quickstarts.
- APIs: Allows you to authorize additional APIs for use with your Application.
Once you have registered and configured your Application, some common next steps are:
Configure a Connection and enable it for your Application
Modify your app code to use your Auth0-registered Application. See our quickstarts, where you'll find detailed instructions and samples for a variety of technologies. You'll also learn how to implement login and logout, handle your user sessions, retrieve and display user profile information, add Rules to customize your authentication flow, and more.
Call an API using our API Authorization feature set.
Use Auth0 APIs.
The Authentication API handles all primary identity-related functions (for example: login, logout, get user profile). Most users consume this API through our Quickstarts, the Auth0.js library, or the Lock widget. However, if you are building all of your authentication UI manually, you will have to interact with this API directly.
The Management API allows you to automate various tasks that can also be accessed via the Dashboard in Auth0 (for example: creating users, setting application grant types).