Playground for Nuxt 3 + Auth0
@auth0/auth0-vue library is used.
Nuxt 3 Auth0 demo app.
| Url | nuxt-3-auth0/login |
| Username | [email protected] |
| Password | H3lloworld! |
Authorize Code with PKCE.
- You need to have an Auth0 account with Auth0 apps.
- The
.envmust be updated with values from the Auth0 settings. - The backend API must be running if API demo is wanted.
# Ensure you have mkcert installed to use https in localhost. https://github.com/FiloSottile/mkcert
npm install
npm run create-env # creates a boilerplate .env file
# Update the .env file with your Auth0 config data.
npm run install-mkcert # Done with your normal OS account. Done once per OS, skip if has been done for your OS.
# Works with Bash shell
npm run create-cert-files-in-folder # Creates the localhost certificates.
# Ensure your backend is running if API fetch is wanted.
npm start # Starts the app using https. Done with your normal OS account.Login or create an account.
You can use '@auth0/auth0-spa-js' and create a Vue wrapper if @auth0/auth0-vue is lacking req. features.






