serverless-authentication-boilerplate

Generic authentication boilerplate for Serverless framework

boilerplateoauth2serverlessserverless-frameworkoauth-provider

Preview

serverless-authentication-boilerplate preview

Overview

This boilerplate provides a ready-to-deploy authentication service built on the Serverless framework and AWS Lambda, handling OAuth sign-in, token refresh and API authorization through DynamoDB and multiple identity providers like Facebook, Google and Microsoft. It separates authentication logic from content APIs, supports custom domains and works with FaunaDB, DynamoDB, or AWS Cognito for user storage.

Features

oauth2-authenticationrefresh-token-managementcustom-authorizermulti-provider-supportstate-managementtoken-generation

Feature Flags

authenticationauthorizationcachingmultitenancytokensrefreshTokensmultipleAuthProviders

Recommended Use Cases

serverless-api-authenticationoauth-provider-integrationtoken-based-authorizationmulti-tenant-authentication

Frontend

javascript

Backend

nodejsaws-lambda

Auth Providers

facebookgooglemicrosoftcustom-oauth2

Deployment Targets

aws

Payment Providers

None

Quick Facts

โญ Stars
565
๐Ÿด Forks
71
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2018-09-01T19:53:19.000Z

Stack

Framework
serverless-framework
Language
javascript
Database
dynamodb, faunadb
Auth
oauth2, cognito
CI
travis-ci

Data Layer

Databases
dynamodb, faunadb, cognito

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
travis-ci

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate
Get Started with this Boilerplate