Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.08 KB

nuxt-auth0

A simple example that shows how to use Nuxt.js with Auth0

nuxt-auth0

You can access a simple demo here: https://auth0.nuxtjs.org

Credits

This example is inspired by next.js-auth0 made by Luís Rudge.

Setup

  • Create an account at Auth0 (https://auth0.com)

  • Add your endpoints to your client's allowed urls like this nuxt-callbacks

  • Add your logout endpoint to your account allowed urls like this nuxt-logout-cb

  • 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/nuxt/example-auth0.git
cd example-auth0
npm install
npm run dev