angular2-jwt VS auth

Compare angular2-jwt vs auth and see what are their differences.

angular2-jwt

Helper library for handling JWTs in Angular apps (by auth0)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
angular2-jwt auth
1 2
2,629 17
0.2% -
5.5 1.4
28 days ago about 1 year ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

angular2-jwt

Posts with mentions or reviews of angular2-jwt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-03.
  • Guard for Role-based access control
    3 projects | /r/Angular2 | 3 Aug 2021
    The way I did it was I wrote a core services library that all of our angular applications will use so they can all easily get any updates. When the service gets loaded, it checks for the presence of the jwt (whether in a cookie or local storage), and validates it. If it's valid, I use the @auth0/angular-jwt package to do this, and also decode it, it grabs the list of roles from the token and updates the ngx-permissions service. This service is an entry point so the application doesn't load until this check happens.

auth

Posts with mentions or reviews of auth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-26.
  • What do you think about this Pattern?
    2 projects | /r/Angular2 | 26 Jul 2021
    What's the good solution? Making the deps tuple typesafe. I actually implemented it in one of my projects: https://github.com/AlexAegis/auth/blob/e3c536d2524babb56f375c104874f7cfdab6534d/libs/jwt/src/lib/model/typed-providers.interface.ts
  • Example of "good" Angular on github
    8 projects | /r/Angular2 | 26 Mar 2021
    This one doesn't have that much templating in it because it's a library, but you might find something useful there: https://github.com/AlexAegis/auth

What are some alternatives?

When comparing angular2-jwt and auth you can also consider the following projects:

next-auth - Authentication for the Web.

axios-auth-refresh - Library that helps you implement automatic refresh of authorization via axios interceptors. You can easily intercept the original request when it fails, refresh the authorization and continue with the original request, without user even noticing.

ngx-permissions - Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible

angular-ngrx-nx-realworld-example-app - Real world application built with Angular 17, NgRx 17, nrwl/nx 17

google-auth-library-nodejs - 🔑 Google Auth Library for Node.js

web - The website vault (vault.bitwarden.com).

Angular-Full-Stack - Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.

djwt - Create and verify JSON Web Tokens (JWT) with Deno or the browser.

auth0-angular - Auth0 SDK for Angular Single Page Applications

ever - Ever® Demand™ - Open Commerce Platform

jwt-decode - Decode JWT tokens; useful for browser applications.

Angular - Deliver web apps with confidence 🚀