AngularJS Authentication: Secure Your App with Auth0
Offered By: Udemy
Course Description
Overview
What you'll learn:
- Secure AngularJS applications with JSON Web Tokens
- Set up JWT middleware on a NodeJS (Express) app
- Make authenticated HTTP requests from an AngularJS
- Create a user profile area with their avatar
- Redirect to a login route when the user becomes unauthenticated
- Apply multi-factor authentication to add additional security
- Login with social providers like Google and Twitter
Authentication for traditional web applications is fairly straight-forward: we send our credentials to the server, asession 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 JSONWeb 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.
Taught by
Ryan Chenkie
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX