auth0-angular
angular2-jwt
auth0-angular | angular2-jwt | |
---|---|---|
1 | 1 | |
172 | 2,629 | |
2.3% | 0.2% | |
8.4 | 5.5 | |
7 days ago | about 1 month ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
auth0-angular
-
Lazy loading Angular applications
In the project that I'm currently working on, we use the Auth0 Angular SDK. That library takes care of the authentication process. In addition, it provides an Angular HTTP interceptor, which can be used to attach OAuth access tokens to relevant outgoing HTTP requests (e.g., back-end API calls).
angular2-jwt
-
Guard for Role-based access control
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.
What are some alternatives?
auth0-spa-js - Auth0 authentication for Single Page Applications (SPA) with PKCE
next-auth - Authentication for the Web.
auth0-javascript-samples - Auth0 Integration Samples for Vanilla JavaScript Applications
ngx-permissions - Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
auth0-vue-samples - Auth0 Integration Samples for Vue.js Applications
google-auth-library-nodejs - 🔑 Google Auth Library for Node.js
remix-auth - Simple Authentication for Remix
Angular-Full-Stack - Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
auth0-react - Auth0 SDK for React Single Page Applications (SPA)
jwt-decode - Decode JWT tokens; useful for browser applications.
angular-auth0 - Application example built with Angular 14 with authentication using the Auth0 service.
cat-toolkit-angular-starter - This repository is for Medium story Angular Starter Kit for Fast Prototype