Questions tagged [aws-userpools]

219 questions
0
votes
1 answer

Getting IndexError: list index out of range error

I have created "CfnUserPool" object using https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_cognito/CfnUserPool.html aws document. I wanted to fetch "Pool Id" of UserPool. It's Id value is - "us-east-1_4kXXXXXXX". I tried so many options…
Nitesh
  • 1,477
  • 5
  • 23
  • 34
0
votes
3 answers

How to create a dynamic AWS environment and teardown?

I know it might sound like a basic question but I haven't figured out what to do. We're working on having a testing environment for screening candidates for Cloud Engineer and BigData interviews. We are looking into creating on demand AWS…
Underoos
  • 4,708
  • 8
  • 42
  • 85
0
votes
1 answer

Getting Value '[Token]' at 'allowedOAuthFlows' failed to satisfy constraint error

I am trying to create AWS userpool client using AWS CDK. I am doing this using python code. Below is my code- oAuthScopes = ["access-db-data"] supportedIdentityProviders = ["COGNITO"] allowedOAuthFlows = ["Token"] …
Nitesh
  • 1,477
  • 5
  • 23
  • 34
0
votes
1 answer

AWS Cognito: Unable to signup with custom attributes in UserPool

I am trying to signup an user. I am using AWS cognito for user authentication and authorization. I have added new custom attribute "abc" in under attribute section in General Settings. I have enabled read & write for abc attribute in AppClients.…
0
votes
0 answers

Not able to access api gateway through user credentials

I have created an api gateway with AWS_IAM authentication. I need to access that api gateway so created one user with giving AmazonAPIGatewayInvokeFullAccess policy to that user. but i am not able to call that api. Getting error as "user…
user11823877
  • 143
  • 1
  • 15
0
votes
0 answers

Using Postman with AWS Cognito Auth

How can I test my authorized API endpoints with postman? Requirement: I want to hit the endpoint as an authorized user because the lambda handler mapped to that http event gets the user's identity with…
cisco
  • 802
  • 9
  • 12
0
votes
1 answer

Is identity pool mandatory for cognito authentication and authorization

I am creating a web app with AWS Cognito to do the authentication and authorization. Most of the examples I see in the web talks about Identity pools are to give federated access. In my web app I don't need federated access. But I need to give users…
0
votes
1 answer

Add user to AWS Identity Pool automatically after login through Google Federated Identity into User Pool?

I am building a web app that hosts authentication security using AWS Cognito. I am having the users sign in through a google login page, which then adds that instance of login automatically to a configured AWS User Pool. I am doing this through this…
0
votes
1 answer

Correct Proguard Rules for AWS AppSync with Cognito User Pool Authentication on Android

I have an Android App using the AWS AppSync SDK with the following gradle configuration to connect to a cloud backend. implementation 'com.amazonaws:aws-android-sdk-appsync:2.7.+' Access to the backend resources is controlled via Cognito User…
0
votes
1 answer

If using multiple UserPool's "App clients", do I need to add them all to IdentityPool's "Authentication providers"?

I'm writing a web app which is using AWS Cognito UserPools for user authentication and IdentityPools for granting direct access to an S3 bucket. This JavaScript web app has its own App client ID in the UserPool with which it interacts with it. I…
0
votes
0 answers

AWS cognito AUTHORIZATION Endpoint returns bad request (400)

I like to use the Authorization-endpoint endpoint of user pool to authenticate with facebook. Authorization-endpoint of aws incognito for a federated Facebook identity pool of a user pool returns status 400 bad request. No more details in the…
Sma Ma
  • 3,343
  • 2
  • 31
  • 39
0
votes
1 answer

Can we create aws cognito userpool authentication with amplify for react native(without expo)?

They have mentioned two methods in documentation, https://github.com/aws-amplify/amplify-js/wiki/FAQ#how-can-i-get-jwt-token-when-using-amplify-to-get-federated-users-login So according to this userpool can be used with social login when we use…
0
votes
1 answer

How to attach Facebook account to AWS Cognito User

I have a set of users in a Cognito User Pool. These users, and ONLY these users, are allowed to login to my webapp. Now I want to allow these users, and ONLY these users, to have the option to login either via Facebook or via their login…
Marc
  • 3,386
  • 8
  • 44
  • 68
0
votes
1 answer

Integrating custom authentication service with AWS Cognito

I have an authentication service currently integrated with CA layer 7 API Gateway. When user presents username/password to L7, it forwards the call to the auth-service, which returns JWT and session id if credentials are valid. I am looking to…
0
votes
1 answer

Why are my temporary AWS credentials from an Identity Pool unauthorized?

I have an Identity Pool which has an Authenticated Role. One of the policies on that role is to have Full Invoke Access to API Gateway Endpoints. When I create temporary credentials with AWS.config.credentials.get(), I create an instance of the API…
The Unknown Dev
  • 3,039
  • 4
  • 27
  • 39