express-jwt VS cloudfront-auth

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

express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes (by auth0)

cloudfront-auth

An AWS CloudFront Lambda@Edge function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login (by Widen)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
express-jwt cloudfront-auth
3 6
4,455 593
0.1% -
2.4 0.0
7 days ago over 1 year ago
TypeScript JavaScript
MIT License ISC 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.

express-jwt

Posts with mentions or reviews of express-jwt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-31.

cloudfront-auth

Posts with mentions or reviews of cloudfront-auth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-01.
  • I just want to host a static website with Cognito as a guard. How can I do it as simple as possible?
    2 projects | /r/aws | 1 Dec 2022
    If you already have existing users in google, github, or something like that, maybe look at this https://github.com/Widen/cloudfront-auth and skip cognito.
  • Deploy EventCatalog to AWS CloudFront with Google SSO Access Control via Terraform
    3 projects | dev.to | 17 Jul 2022
    This article shows how to deploy your own EventCatalog in AWS CloudFront via Terraform and updates to the Catalog via CI/CD (CircleCi in this case, but can be easily applied to other CI systems). It also shows how to use Lambda@Edge to implement Google SSO / OpenID Connect via the Widen/cloudfront-auth Project.
  • Google login to S3 bucket website?
    2 projects | /r/aws | 10 Jul 2022
  • What are you using lambda @ edge and cloudfront functions for ?
    1 project | /r/aws | 25 May 2022
    Using it to allow Google Workspace auth access control to static websites. Leverages https://github.com/Widen/cloudfront-auth
  • Protect your Amazon CloudFront content — Authorization@Edge using cookies
    2 projects | dev.to | 23 Mar 2022
    aws.amazon.com Recognition The earlier AWS blog that investigated wiring up Cognito authentication with Lambda@Edge: https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-how-to-use-lambdaedge-and-json-web-tokens-to-enhance-web-application-security/ A gist that shows how to add Basic Authentication using Lambda@Edge: https://gist.github.com/lmakarov/e5984ec16a76548ff2b278c06027f1a4 An open-source project that uses a similar approach to secure CloudFront distributions, but does not yet support Cognito (at the time of this writing): https://github.com/Widen/cloudfront-auth Additional resources Check out the code on GitHub to see how the sample solution is built. You can deploy and run the code yourself: https://github.com/aws-samples/cloudfront-authorization-at-edge. You can deploy the Amazon Cognito resources from the sample solution directly from the AWS Serverless Application Repository. 10
  • Hosting static site on S3 behind authentication
    2 projects | /r/aws | 27 Jan 2021
    1) Make sure your bucket is private. 2) Set up CloudFront with Origin Access Identity 3) Use Lambda@Edge for authentication.

What are some alternatives?

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

next-auth - Authentication for the Web.

express-openid-connect - An Express.js middleware to protect OpenID Connect web applications.

jose - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.

google-one-tap - Google One Tap Login

node-jwks-rsa - A library to retrieve RSA public keys from a JWKS (JSON Web Key Set) endpoint.

auth0.js - Auth0 headless browser sdk

express-jwt-authz - Validate the JWT scope to authorize access to an endpoint

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

php-jwt - PHP package for JWT

Grant - OAuth Proxy

yup-oauth2 - An oauth2 client implementation providing the Device, Installed, Service Account, and several more flows.