amazon-cognito-auth-js
amazon-cognito-auth-js copied to clipboard
The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Hi All one of my app I m going to use cognito identity as native sign in sign up but for google and face book going to use cognito auth...
I would like to use Promise instead of callbacks. Something like this: var auth = new CognitoAuth(configData) auth.userhandler = { onSuccess: promisifiedSuccess, onFailure: promisifiedFailure } promisifiedSuccess(result) { return Promise.resolve(result) }...
I am getting this error when attempting to login using Facebook. The error is thrown from line 165 in the example code. It works fine when logging in using Google...
We have SPA and using refreshToken via Cognito is really problematic as there is no way to check if refreshToken is expired and that probably leads to problem. We logout...
SignOuth no delete token
I'm working on an app where I want to check for a valid session (redirect to a hosted UI if one doesn't exist) on every page load. The onLoad function...
I have a lambda developed in node js. I have to allow my lambda to access a Java Api protected with cognito. My lambda is a job run each hour...
Expected Behavior 5 failed attempts -> user is locked out for next 30 seconds -> 1 more failed attempt -> user is locked out for next 60 seconds -> 1...
Is there any way to integrate authentication flow with a SPA (no page reloads)? I've managed to create some simple wrapper which opens authentication window: ```typescript import { CognitoAuth, CognitoAuthOptions...
Hey, not sure where else to talk about the hosted ui. How to I use the `state` parameter with the hosted ui?