Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 638 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 638 Bytes

Gatsby example

This is an example of using @auth0/auth0-react with Gatsby.

Follow the steps in examples/README.md to setup an Auth0 application and API.

Add the file ./examples/gatsby-app/.env.development with the domain and clientId of the application and audience (your API identifier)

GATSBY_DOMAIN=your-tenant.auth0.com
GATSBY_CLIENT_ID=yourclientid
GATSBY_AUDIENCE=https://api.example.com/users

Run npm start to start the application at http://localhost:3000

Start the API using the instructions in examples/users-api/README.md