AngularJS Authentication: Secure Your App with Auth0

Discover how to enhance your AngularJS app with JSON Web Token authentication in this easy-to-follow course!

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

In this super fun and straightforward course, you'll learn how to add JSON Web Token authentication to your AngularJS app. We’ll tackle problems traditional methods face and dive into modern solutions. Ready to make your app secure? Let’s go!

Key Points

  • Understanding traditional vs. modern authentication methods
  • Implementing JWT in your AngularJS app
  • Making secure API calls with Auth0 integration

Learning Outcomes

  • Know how to set up JWT for AngularJS applications
  • Understand the challenges of stateless authentication
  • Be able to make authenticated requests to a NodeJS API

About This Course

Learn how to add JSON Web Token authentication to your AngularJS app

Authentication for traditional web applications is fairly straight-forward: we send our credentials to the server, a session is created, and a cookie is returned to be saved in the browser. This method works well for round-trip applications, but it isn't a good way to do authentication in modern single page apps, like those built with AngularJS.

In this course we are going to learn about the challenges associated with traditional authentication and how to use what is arguably the best alternative: the JSON Web Token.

Using that knowledge, we'll implement authentication in an AngularJS app that makes calls to an Express API. We'll cover how to address all the challenges associated with keeping a single page application in check when it comes to stateless authentication. This can be a tricky matter since the front end and backend apps are effectively separated, but we'll find out how to leverage our user's JWT to address the challenges.

We'll use Auth0 as an identity and authentication server so that we don't have to roll our own.

  • Secure AngularJS applications with JSON Web Tokens

  • Set up JWT middleware on a NodeJS (Express) app

  • Make authenticated HTTP requests from an AngularJS

Instructor

Profile photo of Ryan Chenkie
Ryan Chenkie

Ryan is a full-stack JavaScript developer and works mostly with Angular and Node. He's a Google Developer Expert, Product Owner at Auth0, and also runs Angularcasts.io, a screencast site offering end-to-end Angular and JavaScript training. When he's not coding, Ryan is hanging out with his wife, playing guitar, or nerding out about outer space.

More Courses By Code College, Ryan Chenkie, Angularcasts: End-to-end Angular Screencasts
Review
4.9 course rating
4K ratings
ui-avatar of Anonymized User
Anonymized U.
3.5
1 year ago

Expect more description. Here the instructor only provide solution but do not answer why we need to use those in detail. However the overall course was nice and compact.

  • Helpful
  • Not helpful
ui-avatar of Dale van der Merwe
Dale V. D. M.
3.5
2 years ago

Would have like if the resources was not on the Wrapping Up in Section15.
Also would be nice to add an Auth0 Logout function to the tutorial.

  • Helpful
  • Not helpful
ui-avatar of Marcelo Alves Ciriaco
Marcelo A. C.
4.5
3 years ago

Ótimo curso para conhecimento e utilização de autenticação com token...

  • Helpful
  • Not helpful
ui-avatar of Leonard Dushi
Leonard D.
5.0
4 years ago

The course was very well designed and I shortly learned the most important to connect an AngularJS application with Auth0.

  • Helpful
  • Not helpful
ui-avatar of Manju Sree B
Manju S. B.
5.0
4 years ago

very informative

  • Helpful
  • Not helpful
ui-avatar of Chandrakant Gupta
Chandrakant G.
5.0
4 years ago

awesome course with great in detail explanation

  • Helpful
  • Not helpful
ui-avatar of Dinesh Lawate
Dinesh L.
5.0
5 years ago

Awesome course on Auth0 with AngularJS

  • Helpful
  • Not helpful
ui-avatar of Alejandra Jiménez
Alejandra J.
4.0
5 years ago

Fue buena, bien explicado, cumple con lo que promete en el contenido.

  • Helpful
  • Not helpful
ui-avatar of William A Torres Amesty
William A. T. A.
4.5
5 years ago

It's a great place to start. It would be great if an updated version would be available, also if it would cover the case where the App doesn't call for the Auth0 prebuilt login but does all the login within the Angular App.

  • Helpful
  • Not helpful
ui-avatar of José Víctor Pacajoj Mejía
José V. P. M.
4.0
5 years ago

Short and concise, Small examples just to follow

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses