How to implement Cognito with/without Amplify on pure HTML & JS?

This page summarizes the projects mentioned and recommended in the original post on /r/aws

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
  • aws-cognito-barebones-js

    basic aws cognito and javascript example

  • I found this 'barebones' method of implementing Cognito where the user implemented Cognito without Amplify & hosted UI, but I'm not quite sure if this is the secure way of doing it.

  • aws-swaggerui

    Serverless Swagger UI for API Gateway

  • Best way to do this is to use Amplify library on the frontend - pure JS, you can integrate it with anything you need. See my example here: https://github.com/m-radzikowski/aws-swaggerui/blob/master/src/auth.ts

  • 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 logo
  • cognito-vue-bootstrap

    Discontinued This application illustrates how to use the Amazon Amplify with vue.js.

  • https://github.com/wolfeidau/cognito-vue-bootstrap is a Vue example, but should be enough there to get you going.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts