From 7b1b5887a925a08b5f8809e4d54440bc8dbf647d Mon Sep 17 00:00:00 2001 From: Tuan Pham Date: Fri, 15 Sep 2023 12:40:20 -0500 Subject: [PATCH] update sample amplifyconfiguration json file --- .../getting_started/50_configureBackend.mdx | 18 +++++++++++++++++- .../getting_started/50_configureBackend.mdx | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/fragments/lib/auth/android/getting_started/50_configureBackend.mdx b/src/fragments/lib/auth/android/getting_started/50_configureBackend.mdx index 4900c63bd11..73b3ac5f1b7 100644 --- a/src/fragments/lib/auth/android/getting_started/50_configureBackend.mdx +++ b/src/fragments/lib/auth/android/getting_started/50_configureBackend.mdx @@ -122,6 +122,22 @@ If you are not using the Amplify CLI, existing Authentication resources from AWS "Auth": { "Default": { "authenticationFlowType": "USER_SRP_AUTH", + "socialProviders": [], + "usernameAttributes": [], + "signupAttributes": [ + "[SIGNUP MECHANISM]" + ], + "passwordProtectionSettings": { + "passwordPolicyMinLength": [PASSWORD LENGTH], + "passwordPolicyCharacters": [] + }, + "mfaConfiguration": "OFF", + "mfaTypes": [ + "[MFA TYPE]" + ], + "verificationMechanisms": [ + "[VERIFICATION MECHANISM]" + ], "OAuth": { "WebDomain": "[YOUR COGNITO DOMAIN ]", "AppClientId": "[COGNITO USER POOL APP CLIENT ID]", @@ -163,4 +179,4 @@ If you are using a Cognito User Pool without a Cognito Identity Pool, you can om - \ No newline at end of file + diff --git a/src/fragments/lib/auth/ios/getting_started/50_configureBackend.mdx b/src/fragments/lib/auth/ios/getting_started/50_configureBackend.mdx index 16082774f3e..f4b47c5814a 100644 --- a/src/fragments/lib/auth/ios/getting_started/50_configureBackend.mdx +++ b/src/fragments/lib/auth/ios/getting_started/50_configureBackend.mdx @@ -132,6 +132,22 @@ If you are not using the Amplify CLI, existing Authentication resources from AWS "Auth": { "Default": { "authenticationFlowType": "USER_SRP_AUTH", + "socialProviders": [], + "usernameAttributes": [], + "signupAttributes": [ + "[SIGNUP MECHANISM]" + ], + "passwordProtectionSettings": { + "passwordPolicyMinLength": [PASSWORD LENGTH], + "passwordPolicyCharacters": [] + }, + "mfaConfiguration": "OFF", + "mfaTypes": [ + "[MFA TYPE]" + ], + "verificationMechanisms": [ + "[VERIFICATION MECHANISM]" + ], "OAuth": { "WebDomain": "[YOUR COGNITO DOMAIN ]", "AppClientId": "[COGNITO USER POOL APP CLIENT ID]", @@ -174,4 +190,4 @@ If you are using a Cognito User Pool without a Cognito Identity Pool, you can om - \ No newline at end of file +