Skip to main content
CF

AngularJS Authentication with JWT

31m 11s
English
Free

AngularJS Authentication with JWT is a 7-lesson 31 minutes self-paced course by egghead.io. JSON Web Tokens (JWT) are a more modern approach to authentication.

Course facts

Lessons
7
Duration
31 minutes
Level
All levels
Language
English
Updated
Instructor
egghead.io
Price
Free

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.

Who teaches AngularJS Authentication with JWT? 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.

What lessons are included in AngularJS Authentication with JWT?

  • Space or K: play or pause
  • J: rewind 10 seconds
  • L: forward 10 seconds
  • Left Arrow: rewind 5 seconds
  • Right Arrow: forward 5 seconds
  • Up Arrow: volume up
  • Down Arrow: volume down
  • M: mute or unmute
  • F: toggle fullscreen
  • T: toggle theater mode
  • I: toggle mini player
  • 0 to 9: seek to 0 to 90 percent of the video
  • Shift plus N: next video
  • Shift plus P: previous video
0:00 0:00
#Lesson TitleDuration
1JSON Web Token (JWT) Introduction 01:24
2Basic Server Setup for JWT Authentication 01:45
3Client Setup for JWT Authentication 03:34
4JWT Authentication Setup 04:16
5Server JWT Authentication Setup 04:04
6Auth Interceptor in Angular for JWT 07:54
7Finalizing JWT Authentication with AngularJS 08:14

What courses are similar to AngularJS Authentication with JWT?

More courses by egghead.io

Frequently asked questions

What prerequisites are needed for this course?
Prospective students should have a basic understanding of JavaScript and some prior experience with AngularJS. Familiarity with Node.js will also be beneficial, as the course involves setting up a Node.js server for JWT authentication.
What projects or applications will I build in this course?
The course involves building a simple application that retrieves random user information from a Node.js server. This application will implement JWT to secure the random user resource on the server and integrate JWT authentication on the Angular client.
Who is the target audience for this course?
This course is ideal for web developers who want to enhance their authentication techniques using JSON Web Tokens. It is particularly useful for those looking to implement modern, stateless authentication in their AngularJS applications.
How does the depth of this course compare to similar courses?
This course provides focused instruction on implementing JWT for authentication in AngularJS applications. While it covers essential aspects of JWT setup and integration, it is designed for those who have some foundational knowledge of AngularJS and JavaScript.
What specific tools or platforms does the course use?
The course utilizes AngularJS for the client-side application and Node.js for the server-side setup. JSON Web Tokens (JWT) are used for authentication, with lessons covering both server and client integration and setup.
What topics are not covered in this course?
The course does not cover advanced server-side security measures beyond the basic JWT setup. It also does not delve into other authentication methods like OAuth or SAML, focusing solely on JWT implementation in AngularJS and Node.js environments.
How much time should I expect to commit to this course?
The course includes 7 lessons, although the total runtime is not specified. Students should expect to dedicate additional time for hands-on practice and experimentation with the application built during the course.