Questions tagged [aws-userpools]

219 questions
0
votes
1 answer

Boto3 - How to use Amazon Cognito to get temporary credentials from Identity Pool to access S3 bucket?

I am developing a python application whose purpose is to upload data to S3. Since it must be installed on different devices independently, I wouldn’t want store aws credentials on every platform but I want to create an authentication method based on…
0
votes
1 answer

How to change a property depending on a condition on CloudFormation?

I am working on a project where depending on the development environment it will show a different page in a UserPoolClient callbackURL, but I had this error: Property validation failure: [Value of property {/CallbackURLs} does not match type…
0
votes
0 answers

Is there any way to authenticate Federated Logins and restrict to not allow anyone to login in AWS cognito userpool?

I have created userpool and integrated 3rd party IdPs to login to my website. I want only some specific users of that Idp(example SAML ADFS, google) should be able to login and not every user. Like if google user tries to login than first it should…
0
votes
1 answer

AWS cognito `connection pool shutdown`

In my spring boot project, I am first creating a user pool in cognito and then adding a user to the user pool. when adding the user to user pool I need to create a userPoolClient I am creating the user client with all the required params…
Manoj ahirwar
  • 1,062
  • 1
  • 10
  • 24
0
votes
1 answer

Custom Registration Page for Cognito User Pool

I have a Cognito User Pool and need to prompt users select their country from a dropdown list during registration. As far as I can tell, Cognito doesn't provide the ability to customize the registration page with a dropdown. Is there a way to…
0
votes
1 answer

Revoke all refresh tokens of all users. Cognito

I have developed an IOS app, and I am using cognito for authentication. And the refresh token's expiry time is 1 year. But unfortunately we need all the users to re-login in app and we need to forcefully logout(revoke refresh token) every user from…
0
votes
1 answer

How to attach a policy to every Cognito identity

I'd like to attach an IoT policy to the Cognito identities given to the federated users of my app. I'm tryng to do this with a Lambda function in the Post confirmation trigger of my user pool. Here's my function so far: const AWS =…
David U
  • 943
  • 1
  • 8
  • 22
0
votes
1 answer

Cognito authorization with two user pool

I have an API Gateway and two user pools, I want to implement Cognito on my endpoints supporting both user pools. The idea I had was to create a lambda authorize which takes as input: the access_token and does a get on /oauth2/userInfo of the two…
0
votes
1 answer

Why does my AWS-Amplify sign up request not include some parameters?

Why do AWS Amplify sign up requests in my Vuejs app not include the specified parameters? I am calling the signUp method described here in the AWS Amplify library ... /** * Sign up with username, password and other attributes like phone, email *…
GNG
  • 1,341
  • 2
  • 23
  • 50
0
votes
1 answer

Create a user programmatically through the Admin role in AWS Cognito and Angular

I have an application using Spring Boot on the backend and Angular on the frontend. Now I have implemented a login screen via Amplify AWS in the frontend that accesses the Cognito user pool to authenticate my users. These have the roles of user and…
0
votes
1 answer

AWS Cognito: how to deny Login to a user if it is not part of the user pool?

I want to deny login to a user if it tries to login when its username and password is not registered in the userpool. Is there a way I can do that?
0
votes
1 answer

AWS Cognito using another region to send SMS

I have got an interesting issue with Cognito Userpool in AWS. I have created user pool for managing Users' signup/signin process in Mumbai region. Cognito was able to send otp via sms during signup process successfully from Mumbai region until we…
Vny Kumar
  • 748
  • 7
  • 21
0
votes
0 answers

Lambda authorizer vs IAM authorizer when using User pool and identity pool

In the AWS re-Invent video, the solution uses Cognito pool + identity pool It also uses a lambda authorizer at the API gateway to validate the token and generate the policy. I was reading How to authenticate API Gateway calls with Facebook? and it…
0
votes
1 answer

Add custom attribute to user created in AWS Cognito console

I have an app with AWS Cognito auth implemented using Amplify. I do not want users to be able to sign up, instead the admin will sign up users via the AWS Cognito user pool console, by creating a new user. I have created a custom attribute for users…
0
votes
1 answer

How do I access the Cognito UserPoolClient Secret in Lambda function?

I have created Cognito UserPool and UserpoolClient via Resources in serverless.yml file like this - CognitoUserPool: Type: AWS::Cognito::UserPool Properties: AccountRecoverySetting: RecoveryMechanisms: - Name: verified_email …