Sharing Top Content from the Angular-sphere.

AngularJS Authentication with JWT – Course by @kentcdodds @eggheadio

  • Creating the basic node server to serve up random users via API endpoints.
  • Adding JWT support to the server.
  • Adding middleware to the node server to decode and verify the token sent from the client.

Read the full article, click here.


@eggheadio: “AngularJS Authentication with JWT by @kentcdodds #series #AngularJS”


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

In this series, we’ll be building a simple application to get random user information from a node server with an Angular client. We’ll then implement JWT to protect the random user resource on the server and then work through the frontend to get JWT authentication working.

By the end, we’ll have an application which has a single username/password combination (for simplicity) and uses tokens to authorize the client to see the random user information. You’ll be able to login, get random users, and logout.


AngularJS Authentication with JWT – Course by @kentcdodds @eggheadio

Comments are closed, but trackbacks and pingbacks are open.