All Projects → auth0-blog → next2-auth0

auth0-blog / next2-auth0

Licence: other
No description, website, or topics provided.

Programming Languages

javascript
184084 projects - #8 most used programming language

next.js2-auth0

a simple example that shows how to use next.js 2 with auth0

Setup

  • Install yarn
  • Create an account at Auth0 (https://auth0.com)
  • Add your endpoints to your client's allowed urls like this
  • Add your logout endpoint to your account allowed urls like this
  • Copy the file config.sample.json at the root folder, rename it as config.json and add your Auth0 keys

Running Locally

git clone https://github.com/auth0-blog/next2-auth0.git
cd next2-auth0
yarn
yarn dev

Deploying to now.sh

If you want to deploy to now, make sure you update your package.json file's now.alias configuration key to your own alias.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].