Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Full-Stack Vue + Node > Lesson 40

Protecting endpoints

So now that we're generating a token, and we're sending it to the consumer when they log in, we can protect an endpoins so that only an authorized user can access it by providing their token.

Let's begin by creating a new protected endpoint GET /users which will allow a user to fetch their own profile information including their name and email.

Route


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom