Authenticating Gatsby Sites with Auth0

InstructorTyler Clark

Share this video with your friends

Send Tweet

Within five minutes, this lesson will show you how you can go from a blank template to a completely integrated Gatsby + Auth0 website. We'll use a Gatsby recipe to install our auth0-spa-js npm package, create new pages, and add all the Auth0 boilerplate needed to initialize the Auth0 client within the website.

We'll then review all of the code added by the gatsby recipe and finish up by configuring the app with our Auth0 account.


Link to gatsby recipe: https://gist.github.com/twclark0/0e11c962743f4e62ccd33a92d8b52d23

Ryan Murray
~ 3 years ago

Hi Tyler,

Thanks for the quick walkthrough. The recipe doesn't seem to be working with Gatsby ^3.0.0. Can you recommend a fix/work-around?