Skip to content

HermesMartins/poc-aws-node-cognito-identity-service-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Framework Node REST API on AWS

This is a proof of concept for aws node cognito identity service provider.

Documentation

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html

Setup

First, setup the profile inside serverless.yml

After deployed, you'll need to setup the environment variables: COGNITO_USER_POOL_ID and COGNITO_CLIENT_ID (you can find theses values in your User Pool on AWS).

Deployment

sls deploy

Local development

You can invoke your function using the following command:

sls invoke -f cognito

Which should result in a created user in your client pool.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published