Vue MIT

example-auth0

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

N

nuxt

Dernière activité 25 sept. 2026
nuxt/example-auth0

708

étoiles

151

forks

17

issues ouvertes

nuxtnuxt-auth0nuxt-example

Ce README est souvent en anglais.

Note

This repository is archived. This example was designed for Nuxt 2, which reached end of life on June 30, 2024. For authentication in Nuxt 3+, see Sessions and Authentication.

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

Projets similaires

Auth0 Integration Samples for Vue.js Applications

Vueauth0auth0-jsauthentication
Aauth0-samples
302 étoiles230

Example of a simple authentication system using Nuxt3

TypeScriptauthauthenticationexample
Ddamien-hl
386 étoiles62

Provide basic auth your Nuxt.js application

JavaScriptauthenticationbasic-authenticationjavascript
Ppotato4d
308 étoiles8