Skip to content
This repository was archived by the owner on Feb 24, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Amazon Cognito Identity SDK for JavaScript

#** \*This is an open source suggestion for integration with a node Environment \* **

You can now use Amazon Cognito to easily add user sign-up and sign-in to your mobile and web apps. Your User Pool in Amazon Cognito is a fully managed user directory that can scale to hundreds of millions of users, so you don't have to worry about building, securing, and scaling a solution to handle user management and authentication.

**Developer Preview:** We welcome developer feedback on this project. You can reach us by creating an issue on the
Expand All @@ -12,7 +14,7 @@ Introduction
============
The Amazon Cognito Identity SDK for JavaScript allows JavaScript enabled applications to sign-up users, authenticate users, view, delete, and update user attributes within the Amazon Cognito Identity service. Other functionality includes password changes for authenticated users and initiating and completing forgot password flows for unauthenticated users.

## Setup
## Browser Setup

1. Create an app for your user pool. Note that the generate client secret box must be **unchecked** because the JavaScript SDK doesn't support apps that have a client secret.

Expand Down Expand Up @@ -51,6 +53,18 @@ The Amazon Cognito Identity SDK for JavaScript allows JavaScript enabled applica

</pre>

## Node.js Setup

1. Downoload this project and place it into your project folder

2. DO NOT
```javascript
npm install

3. Include the index.js file in side the root of this project
```javascript
const AWSCognito = require(pathToProject + 'amazon-cognito-identity-js/index');

## Usage

**Use case 1.** Registering a user with the application. One needs to create a CognitoUserPool object by providing a UserPoolId and a ClientId and signing up by using a username, password, attribute list, and validation data.
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const AWSCognito = require('./src/index.js');

module.exports = AWSCognito;
1 change: 1 addition & 0 deletions node_modules/.bin/grunt-jsdoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions node_modules/aws-sdk/.jshintrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions node_modules/aws-sdk/.npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions node_modules/aws-sdk/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading