Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuxt/example-auth0
A simple example that shows how to use Nuxt.js with Auth0.
https://github.com/nuxt/example-auth0
nuxt nuxt-auth0 nuxt-example
Last synced: 27 days ago
JSON representation
A simple example that shows how to use Nuxt.js with Auth0.
- Host: GitHub
- URL: https://github.com/nuxt/example-auth0
- Owner: nuxt
- License: mit
- Created: 2017-02-05T12:34:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T22:27:11.000Z (about 2 months ago)
- Last Synced: 2024-09-29T23:55:47.879Z (about 1 month ago)
- Topics: nuxt, nuxt-auth0, nuxt-example
- Language: Vue
- Homepage: https://auth0.nuxtjs.org
- Size: 495 KB
- Stars: 721
- Watchers: 13
- Forks: 159
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nuxt-auth0
> A simple example that shows how to use [Nuxt.js](https://nuxtjs.org) with [Auth0](https://auth0.com)
![nuxt-auth0](https://cloud.githubusercontent.com/assets/904724/22703834/d971838c-ed65-11e6-90f9-5ecf2a1be5f0.gif)
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](https://cloud.githubusercontent.com/assets/904724/22703633/23f35724-ed65-11e6-83e4-227ad77c00ff.png)
* Add your logout endpoint to your account allowed urls like this ![nuxt-logout-cb](https://cloud.githubusercontent.com/assets/904724/22703768/9782bbbc-ed65-11e6-93b7-9c1e4d5d7984.png)* 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
```