amazon-cognito

AWS cognito: adminUpdateUserAttributes not working and not giving an error , am i missing something?

怎甘沉沦 提交于 2020-08-09 09:35:21
问题 I can't get adminUpdateUserAttributes for Cognito to work. The cli works and I can have the user add/changed them not desired but wanted to see it working. I'm using the AmazonCognitoPowerUser an AWS managed policy on the lambda function and the lambda is triggering, is there something I'm missing this sounds and looks easy but it's just not working. also is there a way to get the default Created date without making my own. const AWS = require('aws-sdk'); const cognitoidentityserviceprovider

AWS cognito: adminUpdateUserAttributes not working and not giving an error , am i missing something?

为君一笑 提交于 2020-08-09 09:35:12
问题 I can't get adminUpdateUserAttributes for Cognito to work. The cli works and I can have the user add/changed them not desired but wanted to see it working. I'm using the AmazonCognitoPowerUser an AWS managed policy on the lambda function and the lambda is triggering, is there something I'm missing this sounds and looks easy but it's just not working. also is there a way to get the default Created date without making my own. const AWS = require('aws-sdk'); const cognitoidentityserviceprovider

AWS Amplify: How to map social providers attributes for an email based authentication?

一笑奈何 提交于 2020-08-05 06:51:11
问题 I have a React web application built with AWS Amplify I have added authentication with Cognito user pools, I am not using usernames, I have selected the login using email/phone only, I don't want usernames, but Cognito creates a random username anyway. I want that the user to login using their email or using one social provider (Facebook or Google) and it shouldn't matter, they should have access to the same account, based on the email. Pretty normal practice, I think. However, when I first

Can i use AWS cognito to provide a open id connect endpoint?

与世无争的帅哥 提交于 2020-07-31 19:01:08
问题 I want to use AWS cognito as a OpenId connect provider.My AWS cognito IDP will intern call my another OpenId provider to authenticate the user. It will then create its new token and hand over to callers as its own. The OpenID provider used internally by AWS cognito pool is transparent to user. User only configures AWS cognito as its IDP provider. User case User authenticates with My AWS IDP provider My IDP provider authenticates the user agains Googles IDP provider My IDP decodes the token

Issue while running the recorded scripts in jmeter for aws cognito login

瘦欲@ 提交于 2020-07-31 04:42:05
问题 I am doing performance testing for application which is using Aws cognito login. Error message {"__type":"NotAuthorizedException","message":"Incorrect username or password."} is shown when i rerun the recorded scripts in jmeter. What is the dynamic variable SRP_A which we are passing as the input for the first API call? Passing this variable along with username, Auth flow, client Id gives the challenge parameters. I have to understand what is SRP_A and how to handle it in jmeter. 回答1: SRP_A

variable format for filter in cognito

爱⌒轻易说出口 提交于 2020-07-23 20:09:22
问题 i am trying to get user details from cognito based on sub id, below is code for the same(Filter="sub ="XXXXX-dCCa-4121-94c9-XXXXXX""), now i want to pass the variable in filter , tried with below format but its not working, what is the exact format to pass variable in filter, code : import boto3 client = boto3.client('cognito-idp',region_name='us-east-2', aws_access_key_id='XXXXXX', aws_secret_access_key='XXXXXXX', ) id='XXXXX-dCCa-4121-94c9-XXXXXX' response1 = client.list_users(UserPoolId=

variable format for filter in cognito

白昼怎懂夜的黑 提交于 2020-07-23 20:08:40
问题 i am trying to get user details from cognito based on sub id, below is code for the same(Filter="sub ="XXXXX-dCCa-4121-94c9-XXXXXX""), now i want to pass the variable in filter , tried with below format but its not working, what is the exact format to pass variable in filter, code : import boto3 client = boto3.client('cognito-idp',region_name='us-east-2', aws_access_key_id='XXXXXX', aws_secret_access_key='XXXXXXX', ) id='XXXXX-dCCa-4121-94c9-XXXXXX' response1 = client.list_users(UserPoolId=

variable format for filter in cognito

落花浮王杯 提交于 2020-07-23 20:07:01
问题 i am trying to get user details from cognito based on sub id, below is code for the same(Filter="sub ="XXXXX-dCCa-4121-94c9-XXXXXX""), now i want to pass the variable in filter , tried with below format but its not working, what is the exact format to pass variable in filter, code : import boto3 client = boto3.client('cognito-idp',region_name='us-east-2', aws_access_key_id='XXXXXX', aws_secret_access_key='XXXXXXX', ) id='XXXXX-dCCa-4121-94c9-XXXXXX' response1 = client.list_users(UserPoolId=

variable format for filter in cognito

假装没事ソ 提交于 2020-07-23 20:06:27
问题 i am trying to get user details from cognito based on sub id, below is code for the same(Filter="sub ="XXXXX-dCCa-4121-94c9-XXXXXX""), now i want to pass the variable in filter , tried with below format but its not working, what is the exact format to pass variable in filter, code : import boto3 client = boto3.client('cognito-idp',region_name='us-east-2', aws_access_key_id='XXXXXX', aws_secret_access_key='XXXXXXX', ) id='XXXXX-dCCa-4121-94c9-XXXXXX' response1 = client.list_users(UserPoolId=