This project builds a GraphQL API connected to Auth0. Auth0 is a cloud-based identity management platform that provides authentication, authorization, and user management for web, mobile, IoT, and internal applications.
You'll need to create a StepZen account first. Once you've got that set up, git clone this repository onto your machine and open the working directory:
git clone https://github.com/stepzen-dev/examples.git
cd examples/with-auth0
This project shows how to use Auth0 to authenticate users and authorize them to access data using OAuth 2.0, using two different flows:
- Authorization Code Flow - used for frontend applications
- Client Credentials Flow - used for machine-to-machine communication
Open the README.md
file in the authorization-jwt
or client-credentials
directory to learn how to set up Auth0 for that flow.
You can learn more in the StepZen documentation. Questions? Head over to Discord or GitHub Discussions to ask questions.