# @reapit/cognito-auth

> Simple wrapper around AWS Cognito for basic authentication flow

Latest version **3.0.0** (published 2020-07-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install @reapit/cognito-auth
pnpm add @reapit/cognito-auth
yarn add @reapit/cognito-auth
bun add @reapit/cognito-auth
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2020-07-31 |
| First published | 2019-12-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 410.7 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | dawsonscott, wmcvayreapit |

## Links

- npm: https://www.npmjs.com/package/@reapit/cognito-auth
- Repository: https://github.com/reapit/foundations
- Homepage: https://github.com/reapit/foundations#readme
- Issues: https://github.com/reapit/foundations/issues
- npm.io page: https://npm.io/package/@reapit/cognito-auth

## Dependencies (6)

- [cors](https://npm.io/package/cors.md) ^2.8.5
- [snyk](https://npm.io/package/snyk.md) ^1.335.0
- [hardtack](https://npm.io/package/hardtack.md) ^4.1.2
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.5.1
- [@reapit/elements](https://npm.io/package/@reapit/elements.md) ^0.5.60
- [amazon-cognito-identity-js](https://npm.io/package/amazon-cognito-identity-js.md) ~3.0.13

## Recent versions

- 3.0.0 (latest) — 2020-07-31
- 2.1.8-alpha.1 (alpha) — 2020-07-06
- 2.1.10 — 2020-07-27
- 2.1.7 — 2020-06-15
- 2.1.6 — 2020-05-28
- 2.1.5 — 2020-05-19
- 2.1.4 — 2020-04-23
- 2.1.1 — 2020-04-14
- 2.1.0 — 2020-03-23
- 2.0.18 — 2020-02-17
- 2.0.17 — 2020-02-14
- 2.0.16 — 2020-02-14
- 2.0.15 — 2020-02-13
- 2.0.14 — 2020-01-10
- 2.0.13 — 2019-12-27
- … 13 more at https://npm.io/package/@reapit/cognito-auth/versions

## README

# Cognito Auth

![lines](/packages/cognito-auth/src/tests/badges/badge-lines.svg) ![functions](/packages/cognito-auth/src/tests/badges/badge-functions.svg) ![branches](/packages/cognito-auth/src/tests/badges/badge-branches.svg) ![statements](/packages/cognito-auth/src/tests/badges/badge-statements.svg)

A thin wrapper around the AWS SDK and OAuth flow to take the pain out of authenticating your App with Reapit Connect.

## DEPRECATED - Please use https://www.npmjs.com/package/@reapit/connect-session

We will continue to offer patches and bugfixes for this package however, we strongly suggest that you migrate to `@reapit/connect-session` for a light-weight solution when working with Reapit Connect; a more comprehensive, simpler API and better developer experience.

---
_Source: https://npm.io/package/@reapit/cognito-auth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
