Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth-n-roll-service-cognito

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth-n-roll-service-cognito - npm Package Compare versions

Comparing version 0.0.5 to 0.0.8

8

dist/SignIn.js

@@ -19,3 +19,3 @@ "use strict";

code: _authNRoll.VALIDATION_DATA_ERROR,
message: 'Username and password required'
message: 'SIGNIN_VALIDATION_DATA_ERROR'
};

@@ -45,3 +45,3 @@ }

code: _authNRoll.USER_NOT_FOUND_ERROR,
message: err.message,
message: 'SIGNIN_USER_NOT_FOUND_ERROR',
user: {

@@ -55,3 +55,3 @@ username: username

code: _authNRoll.NOT_AUTHORIZED_ERROR,
message: err.message,
message: 'SIGNIN_NOT_AUTHORIZED_ERROR',
user: {

@@ -65,3 +65,3 @@ username: username

code: _authNRoll.USER_NOT_CONFIRMED_ERROR,
message: err.message,
message: 'SIGNIN_USER_NOT_CONFIRMED_ERROR',
user: {

@@ -68,0 +68,0 @@ username: username

{
"name": "auth-n-roll-service-cognito",
"version": "0.0.5",
"version": "0.0.8",
"description": "",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"dependencies": {
"auth-n-roll": "^0.0.5",
"auth-n-roll": "^0.0.8",
"aws-sdk": "^2.254.1"

@@ -19,0 +19,0 @@ },

# Auth-n-roll service Cognito
***This module is a WIP don't use in a production environment***
This service implements the connection to the Aws Cognito Authentication provider.
It implements the service interface required by `auth-n-roll`
* [Service](../auth-n-roll/docs/service.md) - The service provides the connection with the server
## How to use it
```
import { ServiceCognito } from 'auth-n-roll-service-cognito'
const awsStackData = {
UserPoolClientId: 'A Key here',
UserPoolId: 'eu-west-1_some user pool id',
IdentityPoolId: 'the pool id',
Region: 'eu-west-1'
}
const cognitoService = ServiceCognito(awsStackData)
...
<AuthNRollProvider authService={cognitoService}>
....
</AuthNRollProvider>
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc