Top 9 TypeScript cognito Projects
-
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.
-
amazon-cognito-abac-authorization-with-react-example
Sample CDK project with React App using ABAC and Amazon Cognito Identity Pools to access AWS resources
-
passwordless-auth
Allows a user to login directly via email without a need for entering passwords using Cognito (by ryands17)
-
angular-amazon-cognito
Application example built with Angular 14 with authentication using the Amazon Cognito service.
-
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.
One note of caution, though: Amplify uses a frontend-only Cognito integration that stores long-lived, never-rotating refresh tokens in browser storage, where any XSS vulnerability would have access to them. A more secure approach is to implement a couple of backend API routes to store the refresh tokens in `HttpOnly` cookies instead, which I outlined here (option 1 in your case to support SSO). I'll probably open source a solution to do this early next year so we don't all have to keep reinventing this wheel (probably why AWS calls their conference re:invent).
The exact answer will also depend on how you are authenticating your users and how you are partitioning your data in S3. This sample CDK project might be a good starting point - it demonstrates ABAC to different prefixes in an S3 bucket based on the user’s department (but this could equally be their username or some other property) using Cognito (but you could swap out the user pool for another IDP if needed).
TypeScript cognito related posts
Index
What are some of the best open-source cognito projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | amplify-js | 9,363 |
2 | react-oauth2-pkce | 96 |
3 | ngx-s3-upload | 94 |
4 | aws-swaggerui | 49 |
5 | amazon-cognito-abac-authorization-with-react-example | 31 |
6 | passwordless-auth | 29 |
7 | angular-amazon-cognito | 16 |
8 | aws-chime-chat-demo | 9 |
9 | auth-portal | 0 |
Sponsored