I have a JavaScript web application that supports Cognito unauthenticated identities. I'm trying to figure out how to identify the linked authenticated IdentityId for a DISABLED unauthenticated IdentityId.  First unauthenticated users are issued...
Scenario  Suppose a hacker using a single page webapp https://example.com?secure=maybe has authenticated and obtained a OpenID Connect token that is used to access micro services.  The hacker manages to fish these credentials out of the application....
I am trying to setup a Cognito user using the AWS Cognito SDK and am having trouble adding custom attributes to a user. I have ensured that the variable names match up exactly and that the application allows read/write on all of the attributes. My co...
I get the following error:  TypeError: __WEBPACK_IMPORTED_MODULE_0_aws_sdk_global__.util.crypto.lib. randomBytes is not a function   when I try to authenticate the user using the following code I wrote:  import { CognitoUserPool, CognitoUserAttribute...
I'm attempting to upload a file to an S3 bucket of mine from a web browser using AWS' JavaScript SDK. My code looks like this:  AWS.config.credentials = new AWS.CognitoIdentityCredentials({     AccountId: 'dfhgdh',     IdentityPoolId:...
I'm new to Cognito. So I need some clarification about how I should be registering users who have signed up via a social login.  I've created both a user pool and a federated identity pool.  Then I performed a basic oauth request to twitter u...
I've looked around similar problems, but couldn't resolve my problem. I'm developing an web application where the user will authenticate using AWS Cognito's authentication. The sign up part is ok, but when I try to sign in, I'm ge...
How can I turn the signup callback into an Observable, conforming to the Angular 2 convention? This is what the callback structure is like  userPool.signUp(this.artist.email, this.artist.password, attributeList, null, function(err, result) {   if (er...
I want to invoke a Lambda function using the Javascript API.  I want it to be invoked with the cognito userpool credentials of the user who is authenticated on the browser.  The objective is that the Lambda function will have the same level of access...
I have created one user pool & identity pool.  I have used javascript sdk.   I am able to signup, send confirmation code & confirm user successfully with javascript sdk.  But when i try to sign in user with authenticate method & try to ge...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.