amazon-cognito

How to pass Cognito User Pool information to Lambda through API Gateway

How to pass Cognito User Pool information to Lambda through API Gateway Question: I have a REST API on API Gateway that is using a Cognito User Pool authorizer, with the API invoking a Lambda function. In the Lambda function I want to be able to use the Cognito User Pool information (e.g. id token, …

Total answers: 2

How to call an AppSync mutation with Cognito authentication using python?

How to call an AppSync mutation with Cognito authentication using python? Question: Is it possible to calling an AppSync mutation with Cognito authentication using Python? How? I am trying to use boto3, but I don’t found a way to execute graphql operations. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appsync.html Asked By: Andrey || Source Answers: You can turn your API auth …

Total answers: 3

DEVICE_PASSWORD_VERIFIER challenge response in Amazon Cognito using boto3 and warrant

DEVICE_PASSWORD_VERIFIER challenge response in Amazon Cognito using boto3 and warrant Question: I’m using both the boto3 and warrant libraries to try to get a device authenticated to skip multi-factor authentication after it’s been recognized. I’ve got through a user/password auth but can’t seem to figure out the right way to authenticate the device. The following …

Total answers: 2

AWS Cognito as Django authentication back-end for web site

AWS Cognito as Django authentication back-end for web site Question: My reading of Cognito is that it can be used in place of a local Django admin database to authenticate users of a website. However I am not finding any soup-to-nuts examples of a basic “Hello, World” app with a login screen that goes through …

Total answers: 2