New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No MFA Challenge anymore ??? #6138
Comments
@mpgo13 What is the MFA configuration on the userpool? If is optional the user can disable. |
@elorzafe userpool is configured with optional MFA, but users have setup MFA and they used to get MFA challenge before. Here one user (output of admin-get-user): {
"Username": "xxx",
"UserAttributes": [
{
"Name": "sub",
"Value": "xxx"
},
{
"Name": "email_verified",
"Value": "true"
},
{
"Name": "name",
"Value": "xxx"
},
{
"Name": "phone_number_verified",
"Value": "true"
},
{
"Name": "phone_number",
"Value": "xxx"
},
{
"Name": "email",
"Value": "xxx"
}
],
"UserCreateDate": "2020-05-08T05:24:50.856000+00:00",
"UserLastModifiedDate": "2020-05-28T05:40:16.931000+00:00",
"Enabled": true,
"UserStatus": "CONFIRMED",
"PreferredMfaSetting": "SOFTWARE_TOKEN_MFA",
"UserMFASettingList": [
"SOFTWARE_TOKEN_MFA"
]
} |
@mpgo13 Are you using Amplify with your Amazon Cognito service? |
I’m using amplify-js in frontend. The issue seems to be happening only with
my existing user pool, whereas it works with a new user pool.
…On Thu, 25 Jun 2020 at 1:38 am, Sam Martinez ***@***.***> wrote:
@mpgo13 <https://github.com/mpgo13> Are you using Amplify with your
Amazon Cognito service?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHKOG6JEWCPRYDYRIBL7DRYIMYTANCNFSM4OE75J6A>
.
|
@mpgo13 could be a chance |
@elorzafe both TOTP and SMS are checked in AWS console. here is my userpool config output from {
"UserPool": {
"Id": "USER-POOL-ID",
"Name": "USER-POOL-NAME",
"Policies": {
"PasswordPolicy": {
"MinimumLength": 8,
"RequireUppercase": true,
"RequireLowercase": true,
"RequireNumbers": true,
"RequireSymbols": false,
"TemporaryPasswordValidityDays": 14
}
},
"LambdaConfig": {},
"LastModifiedDate": "2020-06-23T01:16:43.138000+00:00",
"CreationDate": "2020-05-05T01:06:07.868000+00:00",
"SchemaAttributes": [
{
"Name": "sub",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": false,
"Required": true,
"StringAttributeConstraints": {
"MinLength": "1",
"MaxLength": "2048"
}
},
{
"Name": "name",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "given_name",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "family_name",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "middle_name",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "nickname",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "preferred_username",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "profile",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "picture",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "website",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "email",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "email_verified",
"AttributeDataType": "Boolean",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false
},
{
"Name": "gender",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "birthdate",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "10",
"MaxLength": "10"
}
},
{
"Name": "zoneinfo",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "locale",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "phone_number",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "phone_number_verified",
"AttributeDataType": "Boolean",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false
},
{
"Name": "address",
"AttributeDataType": "String",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
}
},
{
"Name": "updated_at",
"AttributeDataType": "Number",
"DeveloperOnlyAttribute": false,
"Mutable": true,
"Required": false,
"NumberAttributeConstraints": {
"MinValue": "0"
}
}
],
"UsernameAttributes": [
"email"
],
"VerificationMessageTemplate": {
"DefaultEmailOption": "CONFIRM_WITH_CODE"
},
"MfaConfiguration": "OPTIONAL",
"EstimatedNumberOfUsers": 25,
"EmailConfiguration": {
"SourceArn": "ARN-EMAIL-CONFIG",
"EmailSendingAccount": "DEVELOPER",
"From": "FROM-EMAIL"
},
"SmsConfiguration": {
"SnsCallerArn": "ARN-SMS-CONFIG",
"ExternalId": "EXTERNAL-ID"
},
"UserPoolTags": {},
"AdminCreateUserConfig": {
"AllowAdminCreateUserOnly": true,
"UnusedAccountValidityDays": 14
},
"UserPoolAddOns": {
"AdvancedSecurityMode": "OFF"
},
"UsernameConfiguration": {
"CaseSensitive": true
},
"Arn": "USER-POOL-ARN",
"AccountRecoverySetting": {
"RecoveryMechanisms": [
{
"Priority": 1,
"Name": "admin_only"
}
]
}
}
} |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
the issue is still present with that specific user pool created via
cloudformation.
…On Mon, 27 Jul 2020 at 8:01 am, stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHKOF6MHFEZ7YC6XPFGE3R5SRSJANCNFSM4OE75J6A>
.
|
@ericclemmons SNS spending limits have been increased before this issue happened. We only intend using |
What I noticed today:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Hi,
We are facing all of a sudden an issue with Cognito not asking it's users for MFA Challenge anymore.
Would you be able to look into this?
Have a look at these requests in eu-central-1 region:
date: Mon, 22 Jun 2020 19:46:18 GMT
x-amzn-requestid: 84d8f97b-3704-4c95-bc28-dfc69d9471fa
x-amzn-requestid: 4195fbe0-53f4-448a-b284-6bc57765966d
x-amzn-requestid: e252bc4d-fe76-409e-a366-20022e9a68cc
The text was updated successfully, but these errors were encountered: