Using Auth0 in your applications means that you will be "outsourcing" the authentication process to a centralized login page in the same way that Gmail, YouTube, and any other Google property redirects to accounts.google.com whenever a user signs in.
Your user will authenticate, and Auth0 will generate an ID Token and Access Token that will be passed back to your application. The Access Token can then be used to call your API.
In a native/mobile application, the default experience will open a SafariViewController in iOS or a Custom Chrome Tab in Android.
When your app needs to fetch user data from your API:
For security in native/mobile devices, Auth0 uses the Authorization Code Flow with Proof Key for Code Exchange (PKCE).
The easiest way to implement the Authorization Code Flow with PKCE is to follow our Mobile/Native Quickstarts.
You can also use our mobile SDKs:
Finally, to use our API endpoints, you can follow our tutorial: Call Your API Using the Authorization Code Flow with PKCE.
Step-by-step instructions for tasks