multi-factor-authentication

DEVICE_PASSWORD_VERIFIER challenge response in Amazon Cognito using boto3 and warrant

浪子不回头ぞ 提交于 2020-05-27 13:09:15
问题 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 is my code: from warrant import aws_srp from warrant.aws_srp import AWSSRP import boto3 client = boto3.client('cognito-idp') import datetime username='xxx' password='xxx' client_id='xxx' aws = AWSSRP(username=username,

DEVICE_PASSWORD_VERIFIER challenge response in Amazon Cognito using boto3 and warrant

爷,独闯天下 提交于 2020-05-27 13:07:45
问题 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 is my code: from warrant import aws_srp from warrant.aws_srp import AWSSRP import boto3 client = boto3.client('cognito-idp') import datetime username='xxx' password='xxx' client_id='xxx' aws = AWSSRP(username=username,

Aspnet Boilerplate GetValidTwoFactorProvidersAsync returns an empty list

为君一笑 提交于 2019-12-13 20:29:26
问题 I am using Aspnet Boilerplate to manage a multi-tenant system. I am currently attempting to turn on 2-factor authentication, which is baked into the boilerplate. I have logged into the host and turned on 2FA (because I understand that it can't be on in the tenanats unless it's on in the host first). Once I do this, I can now see the settings to turn 2FA on in each tenant (which I have done). My problem is that, while the host users are indeed asked for a code as expected, no tenant users ever