Questions tagged [aws-userpools]
219 questions
4
votes
1 answer
React Cognito User Pool - A client attempted to write unauthorized attribute
I am banging my head on the wall trying to figure this one out. I have the code below in my react app. I needed to add some way for the user to add a unit/apt number, so I added a custom attribute.
Everything works, but when I include apt_number:…

Reid
- 4,376
- 11
- 43
- 75
4
votes
0 answers
Adding confirm password field into default Cognito UI
I have a Cognito User pool instance and I need to add a confirm password field in the signup form of Hosted Ui. However, I can't specify it anywhere in the userpool configuration. Does anyone know how to add a confirm password field?
(Note: I do…

Zainab
- 51
- 4
4
votes
0 answers
How to get Cognito User pool jwt token from identity provider session
I'm using the AWS Android SDK.
I have an API Gateway resource that is set accessible with "Authorization COGNITO_USER_POOLS".
I have an user pool and I am able to:
Provide username and password to get the JWT token
Use the JWT token in the…

Gnafu
- 1,591
- 3
- 10
- 26
3
votes
0 answers
AWS Cognito Not getting Google custom attributes from response
I've set up cognito user pool and attached google as an IDP,
When signing-up through Google, the protected attributes are not mapped at all.
Inside Google the authorize scope:
email profile openid…

Yovel Ovadia
- 31
- 1
3
votes
1 answer
AWS Cognito User Pool check if there is a user with a specific Email
I want for my backend server (node.js) make a call through aws-sdk library to see if exists a user with specific mail. Is there a proper method to do this or a work arround without using user's credentials to do this procedure?

Ioannis Panagopoulos
- 172
- 1
- 1
- 11
3
votes
0 answers
Cognito listUsers with aws-sdk is very slow
I'm creating one api with express-js and Cognito for users management, but every query in cognito takes at least 700ms to return the data... this is very slow!!
How can i speed this up?
Have configs in AWS to reduce network delay?
import AWS from…
3
votes
0 answers
How can I implement "hierarchical" permissions between DynamoDB objects in AWS AppSync with a GraphQL API?
I am building a project using AppSync and GraphQL to enable Restaurants to track orders. There are four DynamoDB tables (one for each of the following entities): Restaurants, Staff, Tables and Orders. Each Restaurant can have many members of Staff,…

Moo
- 39
- 5
3
votes
1 answer
Cognito - Authorization Code Grant without secret key
I have a frontend app which I want to connect with a Cognito User Pool.
I am using openidconnect playground to test the authentication flow and this is my Cognito configuration:
I have not put a client secret because I don't think it is safe to…

user1911
- 680
- 1
- 14
- 36
3
votes
1 answer
@auth directive with 'userPools' provider found, but the project has no Cognito User Pools authentication provider configured
When I am trying to do "amplify push" This error message shows in my ide console.
× An error occurred when pushing the resources to the cloud
@auth directive with 'userPools' provider found, but the project has no Cognito User Pools authentication…

Lakshitha Samod
- 383
- 3
- 10
3
votes
0 answers
Cognito - Reset password check previous password
I have the authentication management in my app with Cognito.
There I have a reset password windows to be able to reset the password of a user.
I can reset the password, however, I would like to check if the current password is the same as the new…

gtx911
- 1,189
- 4
- 25
- 46
3
votes
3 answers
How to delete a AWS Cognito user automatically after certain time
I would like to delete a non-verified user from the AWS Cognito user pool after a certain time. Is it possible to delete a Cognito user automatically?
Let's say, a user signs up from a client app with an anonymous email that might belong to someone…

Nick
- 361
- 2
- 7
- 16
3
votes
1 answer
Cognito Auth.sendCustomChallengeAnswer gives "AuthClass - Failed to get the signed in user No current user"
I am trying to make API (Lambda and API gateway) for sign in and verify auth using OTP for password-less authentication. The target is to make front end using angular and mobile application using Flutter but there is no support of AWS Amplify for…

kazinayem2011
- 348
- 6
- 20
3
votes
0 answers
How to setup lambda to be invoked only by Cognito User Group (aws-sam)
I would like to know how to set up a Lambda Function (AdminFunction) so that it can only be invoked by users in a specified group (AdminUserGroup). My YAML is:
AdminUserGroup:
Type: AWS::Cognito::UserPoolGroup
Properties:
GroupName:…

petey
- 16,914
- 6
- 65
- 97
3
votes
1 answer
Customizing Cognito Hosted UI
We are using Cognito Hosted UI with Local Account login and few SAML providers. There is an option to customize some styling but I am looking for couple of additional things.
Adding a custom text and link to an external site - like terms and…

user1868744
- 963
- 1
- 13
- 27
3
votes
1 answer
How to make Cognito User Pool Email attribute mutable without destroying the pool?
After reading the docs and playing around with aws cli I was unable to find a way of updating mutability of email.
Does anyone has something handy to make it work?

zoonman
- 1,116
- 1
- 12
- 30