Questions tagged [aws-userpools]

219 questions
0
votes
1 answer

How to use auth with CognitoUserSession and ApiClientFactory?

I'm trying to authenticate against an Amazon Cognito Api, however it's not working... Creating a CognitoUserPool for registering and signing in works. But how to proceed form here on? In onSuccess(cognitoUserSession: CognitoUserSession) gives me a…
Tobias
  • 7,282
  • 6
  • 63
  • 85
0
votes
0 answers

How to login with facebook or link facebook account to current user in user pool

I am using cognito & node serverless framework in my app to manage users. I have been able to perform operations on cognito (Signup, Login etc) using amazon-cognito-identity-js. However I need to implement two features. Login with facebook Link…
0
votes
1 answer

Add user attribute in IdToken AWS cognito Service

Consider I Have Following Attribute In user pool username first-name last-name location How to add All attribute in IdToken after successful authentication
Avinash
  • 137
  • 1
  • 10
0
votes
2 answers

AWS API Gateway with cognito authorization

Currently I'm developing serverless architecture where there are set of resources and methods in AWS API gateway. I plan to add Cognito authentication(user pool) and authorization as secure layer to AWS API gateway. There are 3 authorizer in AWS API…
0
votes
1 answer

Lookup cognito userpool uset based on cognito dentity pool identity in API Gateway

I am an AWS newb, so please go easy on me :) I have setup a proof of concept to proove out an authenticated API backed by lambda with the following components. API Gateway -> backed by Lambda Federated Identities backed by AWS Cognito UserPool I…
0
votes
0 answers

How to make Only one device login at a time in AWS Userpool iOS?

I have an application in which user can log in/signup with Mobile Number and OTP. I have used AWS UserPool for this functionality. But I want that Only one user can log in at a time. Suppose in device 1 user login with the mobile number: +9197XXX…
user3202457
  • 135
  • 12
0
votes
2 answers

Create and Configure a Cognito User Pool from the AWS CLI

I'm currently trying to automate the Cognito User Pool creation process via bash scripts on AWS-CLI. However, following the steps from the AWS console, I'm trying to reproduce the same steps via the CLI. I like to know which commands I should be…
user9688389
0
votes
0 answers

AWS Cognito User Pool Federation: User creation

Scenario I have an app with is currently responsible for its own user profiles. I am moving the authentication to an external identity provider. The identity provider is an enterprise solution and cannot contain app-specific data (such as which…
0
votes
0 answers

AWS user pool and Google federated authentication

Hello Im currently authenticating users through a Cognito user pool. However I now need to add support to federated authentication thought Google as well. I using AWSCognitoIdentityInteractiveAuthenticationDelegate /…
0
votes
2 answers

AWS Mobile Hub states user is not signed-in after custom UI User Pool sign-in/authentication

I'm currently using AWS Mobile Hub for an iOS application that utilizes Cognito and Cloud Logic. I decided to replace the default AuthUIViewController because I didn't like how it looked. I used this sample project to help me implement sign up…
0
votes
1 answer

Use the token response from SAML authentication with User Pools to retrieve AWS Temporary Access keys

How do I use the token response from SAML authentication with User Pools to retrieve AWS Temporary Access keys and Make API Gateway Calls? I have configured a Cognito User Pool with an associated App client. I have configured Okta as a 3rd Party…
0
votes
1 answer

how to identify a cognito id belongs to a pool using boto3?

Using bellow code i am getting an OpenID token for an IdentityId. import boto3 cognito_client = boto3.client('cognito-identity') data = {'IdentityPoolId': identity_pool_id, 'Logins': logins, 'TokenDuration': 24 * 60 * 60, …
John
  • 1,212
  • 1
  • 16
  • 30
0
votes
1 answer

Manipulate Callback URL in AWS Cognito using aws cli command

I want to modify the existing callback url in my aws cognito using aws cli command (From shell script). Below command i am using to describe the user-pool client. aws cognito-idp describe-user-pool-client --user-pool-id us-west-2_asASD24d…
Jayesh Dhandha
  • 1,983
  • 28
  • 50
0
votes
1 answer

How to modify aws cli command output

I am using below command to list the UserPool Names. aws cognito-idp list-user-pools --max-results 60 --region us-west-2 --query 'UserPools[*].{Names:Name}' Now my all UserPool Names contains cust_ as prefix. And i want to remove that from whole…
Jayesh Dhandha
  • 1,983
  • 28
  • 50
0
votes
1 answer

Reconnecting awsmobile with cognito auth: Get no userPool error

I moved a functioning project to a new machine and followed the suggested steps for reinitializing the awsmobile project by linking it to the existing mobile hub project. Everything seemed to go as expected except signing in results in a "No…
1 2 3
14
15