Giter Site home page Giter Site logo

gatsby-auth0-app's Introduction

Authenticated Apps w/Auth0 and Gatsby

This app was built as part of the Learn With Jason livestream series.

Auth0 Application Settings

To use this example, certain application settings must be set correctly, otherwise unexpected behavior will occur.

Set the following fields to the values shown below, where {portNumber} is whatever port number you are using (e.g., port 8000 in development mode):

  • Allowed Callback URLs http://localhost:{portNumber}/callback

  • Allowed Web Origins http://localhost:{portNumber}

  • Allowed Logout URLs http://localhost:{portNumber}

Make sure that there is no trailing '/' after the port number in the Allowed Web Origins and Allowed Logout URLs fields.

Environment Variables

The environment variables listed in .env.EXAMPLE need to be set for development and production contexts. For example, to expose these variables when running gatsby develop, there must be a .env.development file in the root of your project containing the values found in your Auth0 application settings. To set the environment variables when running gatsby build, refer to the livestream at 1:34:05.

See https://www.gatsbyjs.org/docs/environment-variables/ for a deeper dive into using environment variables with Gatsby.

gatsby-auth0-app's People

Contributors

jlengstorf avatar nwrichmond avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.