amazon-cognito Questions

11

Solved

I am using the AWS Javascript API and trying to get the assigned cognito id: AWS.config.credentials.get(function(err) { if (!err) { console.log("Cognito Identity Id: " + AWS.config.credentials.i...
Seventeen asked 24/5, 2015 at 16:50

2

Solved

I have try this below code and it's working fine. However I need to store these signup details within user pool (additionally I want add some custom attributes as well). But I didn't find a proper ...
Haematogenesis asked 29/1, 2018 at 14:37

1

strange one this, I am using angular 7 and using API gateway with authentication. My problem is that on both using amplify and amazon-cognito-identity-js I get a 400 error in the browser. All work...
Affettuoso asked 24/1, 2020 at 18:29

1

I'm using nextjs 12.1.6, nextauth ^4.5.0, cognito to create social sign ins. After successful sign in on the cognito Hosted UI, I get redirected to my nextjs app with this error in the url api/auth...

5

Solved

i am using Next.js with NextAuth.js with a amazon cognito setup and my issue is that when i click on signin link right after logging out, my user gets signed in directly without getting asked for c...
Store asked 29/9, 2022 at 8:24

11

Solved

I have AWS Cognito Identity Pool that is configured with Cognito User Pool as an authentication provider. Assume I have identity ID of an identity in Cognito Identity Pool (e.g. us-east-1:XXaXcXXa...
Knout asked 22/6, 2016 at 9:28

3

I use AWS Lambda + Cognito (User Pool + Federated Identity) + API Gateway. Users authenticate in WEB application with amazon-cognito-identity-js and invokes API with aws-api-gateway-client. API Gat...
Ballade asked 8/9, 2017 at 23:0

2

I went quickly through setting up a custom page on AWS Cognition. However when I go to the corresponding website: https://**<custom-domain>**.auth.us-east-1.amazoncognito.com/ I get a bla...
Lampley asked 23/4, 2018 at 10:40

2

Solved

I'm using the serverless framework in order to create a Cognito User Pool using the following CloudFormation configuration: Resources: CognitoUserPool: Type: AWS::Cognito::UserPool Properties: ...

2

Solved

I am using IdP as Onelogin & aws cognito(SP). SP initiated login working fine. But when i clicked on App Portal/ Home -> on my application, then it redirects to cognito with error prompt "Inval...
Maybellemayberry asked 16/6, 2020 at 13:51

2

Solved

I have my UI application which uses AWS Cognito for user authentication. We have successfully integrated the SAML identity provider in our Cognito UserPool. Now i want to support SSO using AD FS. ...
Astounding asked 5/7, 2018 at 6:59

4

Solved

I'm using the Android Amplify library. I am having trouble finding out what kind of error would be passed back from the Amplify.Auth.signIn() function. I'm not finding the documentation for this an...

3

Solved

Can someone give me the regex to match a valid AWS Cognito password - with numbers, special characters (their list), lower and upper case letters The AWS Cognito default length limit is 6 character...
Chantay asked 8/11, 2019 at 13:58

2

Solved

I'm using Terraform to create a Cognito User pool. I'd like to use a lambda function for sending a custom message when a user signs up. When I run attempt to sign up on the client, I get an error s...
Consonantal asked 17/2, 2021 at 17:17

10

I'm using the JavaScript SDK for AWS Cognito, and there are a couple of custom attributes that I just can't seem to save to and can't see why. The problem attributes are mutable string fields as f...
Epact asked 17/5, 2017 at 1:8

4

Solved

I was trying to get my API gateway work with Cognito user pools authorizer but I cannot seem to get it to work. I am not using any SDK as of now. Some details - for Cognito pool, I have setup ID pr...
Afroasiatic asked 9/6, 2018 at 20:45

2

Solved

I am using Custom Challenge for MFA because I wanted to use Twilio instead of AMAZON SNS. I have successfully implemented it. It works fine but When a user enters the wrong OTP code. The user sessi...
Weitman asked 5/6, 2018 at 5:11

3

I'm using AWS Amplify to create a Lambda function, REST API, and Cognito user pool. I want to retrieve the Cognito user who made the request to the endpoint so I can access their user attributes. I...

17

Solved

I am trying to create a Android project where I authorize a user by having him log into Amazon Cognito in a browser, which should then redirect back to my app. Unfortunately, when the browser opens...
Capping asked 19/6, 2018 at 20:52

7

Solved

I'm currently using Cognito User Pools, federated with Google as an identity provider, to handle user sign in for my web app. At the moment, I have only implemented Sign-In with Google. This is cur...

7

Solved

My app creates a custom attribute "userType" for each new signed-up user. Now I would like this "userType" claim/attribute to be added to the JWT access token whenever the user signs in or the toke...
Levileviable asked 10/7, 2019 at 12:15

5

Solved

I am using AWS Amplify library to sign up and perform Auth for an AppSync project. This uses Cognito. However, when a new user signs up via Amplify/Cognito, the new user isn't assigned to any speci...

2

I am trying to implement authentication built on Cognito using their Go SDK. I have been able to get basic username/password authentication to work, but when I add in 2-factor authentication using ...
Editheditha asked 24/7, 2018 at 4:54

2

I have an AWS AppSync schema with the default authorization mode set to Amazon Cognito User Pool. I make calls to this AppSync endpoint from a web app using AWS Amplify GraphQL Client and, coherent...

4

Solved

I've been following the serverless tutorial at https://serverless-stack.com/chapters/configure-cognito-user-pool-in-serverless.html I've got the following serverless yaml snippit Resources: Cogn...

© 2022 - 2024 — McMap. All rights reserved.