
Learn how tokens, especially jwt, share permissions and user identity between server and api, with a three-part structure—header, payload with claims, and signature—to verify integrity and access control.
Explore building a three-route app with a home, about, and secret area, showing login with Google sign-in and logout to protect the secret section.
Parse the server response hash to extract the access token and id token, store them in memory, and validate expiry to route to the secret area with login state.
Guard your routes by using a router middleware that checks isLoggedIn and redirects unauthenticated users to not authorized, then protects the secret area with a beforeEnter hook.
Conclude the course by showing how to onboard users to a VueJs application using Auth0, and invite feedback via course comments or Twitter.
In this course, the students will learn how to build a basic Vue Js application and how to add authentication to it by using the free Auth0 service. Starting with a blank application from vue-cli, three routes will be added so the users can login, logout and view their profile.