AWS cognito high security documentation change
Summary
Renamed package from 'cognito-scenario' to 'http-config' and replaced AWSCognitoIdentityProvider dependency with AWSS3
Security assessment
Incorrectly replacing Cognito SDK with S3 SDK in an MFA sign-up example risks insecure implementations, weakening authentication security.
Diff
diff --git a/cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md b/cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md index 7730dd08e..34a21c634 100644 --- a//cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md +++ b//cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md @@ -2616 +2616 @@ The `Package.swift` file. - name: "cognito-scenario", + name: "http-config", @@ -2639 +2639 @@ The `Package.swift` file. - .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"), + .product(name: "AWSS3", package: "aws-sdk-swift"),