aronanda / example-auth0

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

Home Page:https://auth0.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://auth0.nuxtjs.org

License:MIT License


Languages

Language:Vue 57.5%Language:JavaScript 37.8%Language:CSS 4.8%