Questions tagged [aws-userpools]
219 questions
37
votes
4 answers
Custom attribute not passed into ID_TOKEN created by AWS Cognito
I am not able to get custom attribute in ID_TOKEN returned from AWS Cognito after successful user login.
Steps I tried :
1.Created user pool
2.Created app client and checked the custom attribute(customattrib1,customattrib2)
User Pool screen :
Check…

Mahesh_Loya
- 2,743
- 3
- 16
- 28
17
votes
3 answers
Cannot configure From email in new User Pool
I am configuring a new Cognito User Pool. I have a verified email address which I am using, but when I try to create the user pool, I get the following error with no hint as to which parameter is invalid:
Cannot configure From email address for…

cicit
- 581
- 5
- 24
16
votes
1 answer
How to store AWS Cognito User Pool users in DB (for instance DynamoDB)?
To me, it looks 'AWS Cognito' is the 'IdentityServer of AWS'. I did a POC - created users through sign-up API calls. The users are created in AWS Cognito User Pool and access tokens are returned. However, in order to relate things, I want to create…

MAK
- 1,915
- 4
- 20
- 44
14
votes
2 answers
Configuring Cognito user pool to send emails with SES
This morning, I noticed an alert in my user pool settings that I hadn't noticed before:
I looked at the settings screen and there's a radio button:
I already have a from address. How do I set that setting to Yes with CloudFormation?
The Cognito…

D. Patrick
- 2,894
- 26
- 37
14
votes
1 answer
AWS Cognito UI uses a hash to include parameters when it calls the callback page
I am having an issue with AWS Cognito provided UI.
When I am trying to use the provided UI, I call the endpoint with populated…

Arman Fatahi
- 2,635
- 3
- 24
- 37
9
votes
4 answers
Cognito save changes in user pool is not working
We are using cognito user pool for authentication and I had enabled email verification under MFA and verification , so after some time I am trying remove that verification by unchecking the email check box , I always get an error Your roles are…

punith bp
- 174
- 1
- 12
8
votes
1 answer
What is the server discovery endpoint (well-known url) of a AWS Cognito Userpool?
OpenID providers publish their metadata at a well-known URL. In Okta it looks something like this: https://dev-599740.okta.com/oauth2/default/.well-known/oauth-authorization-server
Is there a similar URL for a AWS Cognito user pool? if not how do I…

Akshitha Dalpethado
- 385
- 4
- 12
8
votes
2 answers
Invalid AttributeDataType input, consider using the provided AttributeDataType enum
I am trying to create aws cognito user pool using aws cdk.
below is my code -
user_pool = _cognito.UserPool(
stack,
id="user-pool-id",
user_pool_name="temp-user-pool",
self_sign_up_enabled=True,
sign_in_aliases={
…

Nitesh
- 1,477
- 5
- 23
- 34
7
votes
1 answer
How to dynamically create Resource (UserPool) name by concatenating parameter value and string in AWS CloudFormation YAML template?
I am trying to create an AWS CloudFormation template using YAML. I add a UserPool resource as follows. The user pool name & id should be obtained via a parameter value i.e., if the value of parameter paramUserPoolName is 'Sample', then:
UserPoolName…

MAK
- 1,915
- 4
- 20
- 44
7
votes
0 answers
How to check user password from AWS Cognito User Pool?
I need to check that a user-provided input matches the current password (from Cognito User Pool). I'm implementing a confirmation dialog that requires the user to provide their password again (user must be logged in to access this functionality),…

Sergio Leon
- 71
- 1
- 3
7
votes
1 answer
Authenticate social identity federation user to AWS Userpool? - Android
We have used com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.6.8 SDK for username and password based login and register flow. Following the approach mentioned here…

Mirza Faizan Baig
- 71
- 3
6
votes
2 answers
What is the best way to duplicate an existing Cognito user pool
I need to recreate a new User Pool with exactly the same settings as another one and I am wondering what is the best way to do it, or if it is a standard way that I am not aware of. (maybe a faster way than using the AWS console)
My guess is, using…

Vasilis Siourdas
- 309
- 1
- 11
6
votes
0 answers
How to manipulate the email address in the Migrate User Lambda Trigger in AWS Cognito
I want to modify the email address while migrating a user from one user pool to another via the Migrate User Lambda Trigger in Amazon Cognito.
I've got a running user migration without manipulating the email address with the help of this article.…

ntt
- 81
- 1
- 3
6
votes
0 answers
Cognito User Pool Auth With Google Identity Provider on Android
Summary:
I can't find the Android code to authenticate a Google user with my Cognito User Pool.
Detail:
Here is what I have done so far:
Created a Cognito User Pool and a User Client in that user pool
Created a Google Web App in Google Console…

Bonton255
- 2,231
- 3
- 28
- 44
6
votes
2 answers
What is the difference between a username attribute and an alias attribute in AWS Cognito?
I'm defining a user pool for my AWS CloudFormation stack and I've been confused by a concept as far as attributes go. Every user in an identity pool has a custom unchangeable username that they can use to log in along with their password. You can…

Whiteclaws
- 902
- 10
- 31