Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 853 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 853 Bytes

next.js-auth0

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

You can access a simple demo here: https://nextjs-auth0.now.sh

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
  • Add your Auth0 credentials to this file

Running Locally

https://github.com/luisrudgegit clone /next.js-auth0.git
cd next.js-auth0
yarn

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.