Skip to content

tomsato/sample-nuxt-auth

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

sample-nuxt-auth

このサンプルアプリケーションについて

  • Vue.js / Nuxt.jsのログインサンプルアプリケーション
  • Auth0とAuth module、またNuxt.jsのmiddlewareを使って実装している

サンプルの動かし方

リポジトリをcloneした後にnuxt.config.jsの中の「XXXXX」になっているところを変更する

  auth: {
    strategies: {
      auth0: {
        domain: 'XXXXX', // Auth0 App Domain
        client_id: 'XXXXX', // Auth0 App Client ID
      },
    },
    ...
  },

後は起動するだけ

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

この状態で以下にアクセスするとページが見れる

http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published