Skip to content

smorcuend/nuxt3-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3386648 Β· Jan 5, 2023

History

10 Commits
Jan 5, 2023
Jan 5, 2023
Sep 12, 2022
Jan 5, 2023
Nov 21, 2022
Nov 21, 2022
Jan 5, 2023
Jan 5, 2023
Jan 5, 2023
Jan 5, 2023
Sep 12, 2022
Sep 13, 2022
Oct 27, 2022
Jan 5, 2023
Jan 5, 2023
Sep 12, 2022
Jan 5, 2023
Jan 5, 2023
Jan 5, 2023
Sep 13, 2022

Repository files navigation

Nuxt 3 Minimal Starter with Auth0 Authentication integrated + PrimeVue

Capture

Authenticated server-side rendering with Nuxt 3 and Auth0 API server middleware

Features

  • πŸ’š Nuxt 3 - SSR, ESR, File-based routing, components auto importing, modules, etc. Are you new in Nuxt3? We recommend to look at the documentation.

  • πŸ”₯ The <script setup> syntax

  • 🚠 Auth0 SDK Authentication services. Auth0 Federated Identity Management.

  • Hapi iron module for encapsulated tokens on Cookies

  • πŸš€ The PrimeVue for styled components

  • πŸ“₯ APIs auto importing - for Composition API, VueUse and custom composables.

  • 🦾 Mainly TypeScript

IDE

We recommend using VS Code with Volar to get the best experience (You might want to disable Vetur if you have it).

Auth0 setup

First of all, you need to create Auth0 acount and SDK setup. https://auth0.com/docs/quickstart/spa/vanillajs

You need to create .env file with this content from Auth0 project (security credentials should never be shared):

cp .env.example .env

Setup

Make sure to install the dependencies

yarn install

Rename .env.example as .env and set environment values

Development

Start the development server on http://localhost:3000

yarn dev

Production

Build the application for production:

yarn build

Checkout the deployment documentation.

References

Releases

No releases published

Packages

No packages published