Skip to content

This is a example of Auth0 integration with Nuxt.js

Notifications You must be signed in to change notification settings

hmaruyama/nuxt_auth0

 
 

Repository files navigation

Nuxt-Auth0

This is a example of Auth0 integration with Nuxt.js

Features

  • Using Auth0 Lock
  • Update tokens with checkSession method
  • Secure / Non-Secure Pages with middleware
  • Showing User from JSON Web Token

Demo

demo

Setup

Auth0

https://auth0.com/

Need to create a auth0 tenant and make some settings below.

.env

Using dotenv. create .env and set clientID and domain.

AUTH0_CLIENT_ID=YOUR_CLIENT_ID
AUTH0_DOMAIN=YOUR_DOMAIN

Start

Let's start with Nuxt.js build commands.

$ yarn install
$ yarn dev

About

This is a example of Auth0 integration with Nuxt.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.9%
  • Vue 46.1%