Get a JWT From Auth0 in Express to Be Used in Authentication

Share this video with your friends

Send Tweet
Published 2 years ago
Updated a year ago

In this lesson, we will use Auth0 to generate a JWT that we can use to validate future requests to our server.

We will then return that token and test that it works when authenicated by our middleware.

During the lesson, we'll also briefly look at a strategy to keep your credentials out of source control using a .gitignore file.