Skip to content

nuxt/example-auth0

Repository files navigation

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

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 .env.example at the root folder, rename it as .env and add your Auth0 keys

Running Locally

git clone https://github.com/nuxt/example-auth0.git
cd example-auth0
npm install
npm run dev