The Wayback Machine - https://web.archive.org/web/20231219143847/https://github.com/connor11528/vuejs-auth-frontend
Skip to content

connor11528/vuejs-auth-frontend

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
src
 
 
 
 
 
 
 
 
 
 

Vue.js Frontend Authentication

A frontend codebase for authentication with Vue.js and JWT. Code built from the Auth0 tutorial Build an App with Vue.js: From Authentication to Calling an API

About the app

To log users in, we'll make an HTTP request to our authentication endpoint and save the JWT that is returned in localStorage.

Vue components allow us to specify a template, a script, and style rules all in one file.

Setup

Launch server:

$ webpack-dev-server --inline --hot

Sample backend: https://github.com/auth0-blog/nodejs-jwt-authentication-sample. Clone the repo, install dependencies and then we can use it as an api endpoint to hit up http://localhost:3001/api/random-quote

About

🔒 Vue.js frontend app with JWT authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published