New to Express.js and Auth0?
The Auth0 Express.js Code Samples can help you learn by example how Auth0 integrates with Express.js APIs. However, if you want to learn by doing, you can follow any of the Auth0 Express.js Developer Guides from the "Express.js Web API: Security and Identity Management" section.
The Developer Guides give detailed instructions on how to integrate Auth0 with Express.js APIs written in TypeScript to cover a wide array of use cases, such as using access tokens to protect API endpoints.
Express.js Authorization TypeScript Code Samples
Express.js/TypeScript API: Authorization Code Sample
Code sample of a simple Express.js server built with TypeScript that implements token-based authorization using Auth0.Express.js/TypeScript API: Role-Based Access Control Code Sample
Code sample of a simple Express.js server built with TypeScript that implements Role-Based Access Control (RBAC) using Auth0.Additional Resources
If you are new to identity and security, check out any of the following resources to get started:
Ready to secure your apps?
Get Auth0 for free with up to 7,000 active users and unlimited logins.