Skip to main content
CF

AngularJS Authentication with JWT

31m 11s
English
Paid

JSON Web Tokens (JWT) are a more modern approach to authentication. As the web moves towards a greater separation between the client and server, JWT offers a powerful alternative to traditional cookie-based authentication models. For more information on JWT, visit jwt.io.

Course Overview

In this series, we’ll be building a simple application to retrieve random user information from a Node.js server using an Angular client. We’ll implement JWT to secure the random user resource on the server, and then integrate JWT authentication on the frontend.

Learning Outcomes

By the end of this course, you will:

  • Understand how to use JWT for securing web applications.
  • Have a working app with a simple username/password combination for demonstration.
  • Be able to login, retrieve random users, and logout using token-based authentication.

Why Choose JWT?

JWT is preferred for modern web applications due to its stateless nature, allowing for scalability and flexibility in client-server communication. It enhances security by using signed tokens that ensure the integrity of the data exchanged between parties.

Join this course to enhance your understanding of JWT, and learn practical implementation techniques that can be applied to any web application requiring robust authentication mechanisms.

About the Author: egghead.io

egghead.io thumbnail

egghead.io is a US-based subscription video platform focused on short, focused screencasts on JavaScript ecosystem topics. Founded in 2012 by John Lindquist (a Google Developer Expert) and run by Joel Hooks, egghead pioneered the short-screencast format that most modern developer-education platforms now use — courses are typically broken into 2-5 minute lessons that each cover one specific concept or API.

The instructor roster includes many of the most cited names in the JavaScript ecosystem — Kent C. Dodds (whose Testing JavaScript launched on egghead before EpicWeb.dev), Andrew Del Prete, Hannah Davis, Lukas Ruebbelke, Tomasz Łakomy, Andy Van Slaars, and many others. Course material covers React, Next.js, TypeScript, Node.js, GraphQL, Vue, the testing tracks, RxJS / observables, and a long list of smaller libraries and tools.

The CourseFlix listing under this source carries over 20 egghead courses spanning that range. Material is paid; egghead itself runs on a monthly / annual subscription on the original platform. The bite-sized format suits developers learning incrementally during work hours rather than committing to multi-hour video sessions.

Watch Online 7 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 7 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: JSON Web Token (JWT) Introduction
All Course Lessons (7)
#Lesson TitleDurationAccess
1
JSON Web Token (JWT) Introduction Demo
01:24
2
Basic Server Setup for JWT Authentication
01:45
3
Client Setup for JWT Authentication
03:34
4
JWT Authentication Setup
04:16
5
Server JWT Authentication Setup
04:04
6
Auth Interceptor in Angular for JWT
07:54
7
Finalizing JWT Authentication with AngularJS
08:14
Unlock unlimited learning

Get instant access to all 6 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What is AngularJS Authentication with JWT about?
JSON Web Tokens (JWT) are a more modern approach to authentication. As the web moves towards a greater separation between the client and server, JWT offers a powerful alternative to traditional cookie-based authentication models. For more…
Who teaches this course?
It is taught by egghead.io. You can find more courses by this instructor on the corresponding source page.
How long is the course?
It contains 7 lessons with a total runtime of 31 minutes. Every lesson is available to watch online at your own pace.
Is it free to watch?
It is part of CourseFlix's premium catalog. A subscription unlocks the full video player; the course description, table of contents, and preview information are available to everyone.
Where can I watch it online?
The course is available to watch online on CourseFlix at https://courseflix.net/course/angularjs-authentication-with-jwt. The page hosts every lesson with the integrated video player; no download is required.