Questions tagged [aws-userpools]

219 questions
2
votes
0 answers

Why I don't see User Custom Attributes in AWS Cognito service

I am using AWS Cognito service and I added to my users in User Pool custom attributes, and check the custom attribute check box in the App clients -> Show Details -> Set attribute read and write permissions, However when I run the command "aws…
Eli
  • 31
  • 5
2
votes
1 answer

AWS Cognito - Input attributes include non-writable attributes for the client [completeNewPasswordChallenge]

I created a user pool in my AWS Cognito console and I have a use case where a user is created via the Console and a temporary password is provided to the user. I'm facing an error that says : {code: "InvalidParameterException", message: "Input…
2
votes
2 answers

AWS Cognito SignUP with custom Attributes in node js causing error

I am trying to build Signup through a lambda function with AWS user pool where I added a custom attribute called type. When I am sending a type value with signup, an error "A client attempted to write unauthorized attribute" is populating. I am…
Preet Saxena
  • 127
  • 1
  • 10
2
votes
1 answer

Authentication with Amazon Cognito User Pools in Xamarin.Forms Cross-Platform App

I am developing a cross-platform mobile application using Xamarin.Forms. I have an Amazon Cognito User Pool, equipped to do identity federation via third parties (Facebook, Google), as well as native application user auth (username/password), that…
2
votes
2 answers

AWS Cognito change email - require verification before update

I have user pool set up to use email as user identifier (also configured to require email verification). Every main action / flow (login, signup, change password, reset password) seem to work fine and as expected. The one important thing which does…
Lukasz
  • 19,816
  • 17
  • 83
  • 139
2
votes
2 answers

Aws amplify signIn method returns Incorrect username and password while federatedSignIn (Hosted UI) works

I am using aws cognito for authentication. I have two environment for development and production hosted in two different region. Development in us-east-1 Production in us-west-2 I want to change cognito hosted UI authentication (federatedSignIn) to…
2
votes
3 answers

Web Interface for AWS Cognito Identity Pool Not Saving Changes For Authenticated Provider Role Selection

In an identity pool in AWS Cognito I am trying to make users assume an IAM Role based on the group that they belong to in an user pool. Whenever I select Edit Identity Pool > Authentication Providers > "Choose Role From Token" and then click save…
2
votes
1 answer

What is identifier in AWS Cognito Oauth Scope?

I have setup APIs and I am trying to use AWS Cognito User Pool for authorization and authentication. I am using custom domain in cognito (let's say: http://test-auth.abc.com). Domain name for API is (let's say: http://test-api.abc.com). I am using…
2
votes
1 answer

Add custom roles to AWS Cognito User Pool Access Token

I am using AWS Cognito User Pool to secure my web app, mobile app and APIs. I have a database with roles and permissions defined. I would like to add "roles" to Access Token during login process so that I do not need to make a database call to check…
user1868744
  • 963
  • 1
  • 13
  • 27
2
votes
0 answers

Cognito and Java - Username cannot be of email format since user pool is configured for email alias

I've created my Cognito User Pool as follows: settings for allows users to log in via their email or username (and have them both unique for each user). This is my Account Cognito implementation: public class AccountDAO_Cognito implements AccountDAO…
user14021516
2
votes
1 answer

AWS auth seesion not keeping alive when we close the android application

I'm using AWS Amplify SDK for Cognito integration. Actually, I successfully integrated user sign in and sign up flows based on the documentation available here. However, after the successful login if we restart the app the user session is not…
2
votes
0 answers

Cognito User Pool Logs for SAML Integration

I am using Cognito User Pool to integrate an external Identity Provider via SAML. I have two Idp's I am trying to setup. One is Azure AD, which is all set up and working fine. Another one is SecureAuth which is giving problems. I am trying to find…
2
votes
0 answers

How to initiate "USER_PASSWORD" sign in flow in android

We are trying to migrate the Cognito user pool in our system. To do this, we do need to use "USER_PASSWORD" AuthenticationType, as explained here: Your app sends the username and password to Amazon Cognito. If your app has a native sign-in UI and…
GaRRaPeTa
  • 5,459
  • 4
  • 37
  • 61
2
votes
0 answers

Getting user attributes from Cognito for Pre token generation lambda

I'm writing a lambda to customize the claims on the accessToken before the token is generated. I need to call an external API with data from my Cognito user pool to get information to customize the claim. This lambda would be triggered before sign…
Saakina
  • 275
  • 1
  • 2
  • 9
2
votes
5 answers

is it possible to change the AWS cognito hosted UI?

can we change the AWS Cognito hosted UI HTML? I have created my own login page and I want to use that as the hosted UI for login functionality. I have tried for CSS customization it is possible but not able to change the HTML of the AWS Cognito…
Sagar
  • 21
  • 1
  • 2