Questions tagged [aws-userpools]

219 questions
0
votes
1 answer

How to place users into specific authentication pools on sign up with AWS Amplify?

I assume this is should be a common feature of most websites, but I have seen no documentation for it. I have a website that has three groups of people that use it: Clients Teachers Admins When a client signs up with the Authenticator Component,…
0
votes
2 answers

how can we block(blacklist) specific email domains from AWS cognito

I am working on an app and i am using AWS cognito as credential manager. I want to block any fake email domain from getting registered on my website (e.g. abcd@yoppmail.com, alcd@fakemail.com etc.) So, Is there any way to blacklist these…
0
votes
1 answer

Cognito passwordless flow with username and email as aliasAttribute

I'm made a cognito passwordless flow and i create userPool with this SAM template: UserPool: Type: "AWS::Cognito::UserPool" Properties: UserPoolName: !Ref UserPoolName Schema: - Name: phone_number …
0
votes
1 answer

View Hosted UI button generating multiple codes for multiple clicks in AWS

I am using AWS cognito to provide the JWT token auth for my apis.And i am using Authorization_code grand type.And when i click on View Hosted UI, it's redirecting me to login and after success giving the code and using that code, i am generating…
venkat
  • 345
  • 8
  • 21
0
votes
1 answer

AWS/Cognito, when creating a user pool through CDK, how can I set string length for standard attributes. I want to add min/max length for fullname

AWS/Cognito when creating a user pool through CDK, how can I set string length for standard attributes. I tried to find it but had no luck like there is none for that. I am using Typescript. My user pool looks like this: const userPool = new…
0
votes
0 answers

When user sign up with application ui (aws congito have used for authentication) the same user if sign in with google it shows error

i have used aws congnito for user authentication for my app. so here user direcly signup with the application and if the same user(same email) login with third party means using google or facebook in my case, it shows…
0
votes
0 answers

Update token validity duration in user pool for an amplify project

Here is my config from cli-inputs.json "userpoolClientRefreshTokenValidity": 10, "userpoolClientIdTokenValidity": 10, "userpoolClientAccessToken" : "hours", Howver my token validity is still 60 mins. Is there anything that's missing here?
0
votes
0 answers

how to update user pool token validity?

I have updated my user pool token expiry, however its not getting updated. Is there anything thats not correct in this config? "userpoolClientRefreshTokenValidity": 30, "userpoolClientIdTokenValidity": 30, …
0
votes
0 answers

AWS Cognito User Pool Policies: allow admin to only view cognito users created by themselves

I have a user pool in AWS Cognito where users are created by an admin. I want to give a permission to multiple admins to create users in the same user pool. However, I only want them to be able to view the users created by them and not the users…
0
votes
0 answers

Detach Congito from Amplify

I've decided to stop using Amplify, however all users are stored in cognito. Ideally I'd like to remove all of the Amplify aspect and retain the Cognito user pool as a standalone deployment. What i've explored Migrate to a new user pool This means…
0
votes
1 answer

Using CustomSenderKmsKey in the AWS Cognito CDK

I am configuring a Cognito User Pool using the CDK. In the UserPool constructor, there is a custom_sender_kms_key attribute that is set to None by default. The documentation states that : This key will be used to encrypt temporary passwords and…
0
votes
1 answer

aws cognito PreAuthentication_Authentication error

I want to use adminInitiateAuth to trigger User Migration lambda function, but my code gives me below error: "errorType": "UserLambdaValidationException", "errorMessage": "PreAuthentication failed with error Bad triggerSource…
shamila
  • 1,280
  • 6
  • 20
  • 45
0
votes
1 answer

AWS Cognito User Pool Custom Authentication Lambdas Not Triggering

I'm trying to implement the AWS Congito Custom Authentication flow for User pool (as suggested in their documentation. I have defined very basic logic in the define, create and verify challenges. My define-challenge Lambda does not use any SRP or…
0
votes
1 answer

Spring Secutity 5 as an OIDC Identity Provider for AWS Cognito User Pool

I have an Authorization Server with Spring Security 5. It supports Authorization Code, Authorization Code with PKCE, Implicit Grant and Client Credentials flows from the OAuth 2.0 authentication framework for it's clients. This Spring Security 5…
0
votes
1 answer

Is there any equivalent feature in AWS to Azure AD B2B?

I understand that Azure AD B2C has an equivalent in AWS, which is AWS Cognito User Pool. But it seems there is nothing equivalent to the Azure AD B2B. Is my understanding correct?