1.0.5 • Published 3 years ago

@littleware/little-authn v1.0.5

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

TL;DR

Open Id Connect client initially targeting AWS Cognito as an Identity Provider providing the @littleware/little-authn node package.

TOC

Login flow

Refer to the documentation for AWS Cognitoflow for an overview of the OIDC client login flow.

Authorization code flow

The @littleware/little-authn/commonjs/bin/oidcClient.js module provides methods for a service (as an OIDC client) to assist with the Authorization code flow, and establishing a user session with the application.

  • acquire a user token via the OIDC Authorization flow, issue the acquired identity token to the authenticating user's web client as a secure cookie
  • validate the identity token in a web client's cookie to authenticate user requests.

Implicit Flow

Lambda Integration

docker run --rm -v "$PWD":/var/task lambci/lambda:nodejs10.x lambda.lambdaHandler

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago