(core) Update aws-sdk

Summary:
Bumps aws-sdk to the latest version of v2.

Updates CognitoClient to use fake AWS credentials with service provider. While none
of our calls currently require real credentials, we still need to send fake credentials
with certain calls, such as AssociateSoftwareToken, to avoid getting errors back from
AWS about missing credentials.

Fixes some CSS and alignment issues with the authentication method tile buttons in
MFAConfig.

Test Plan: Existing Cognito tests. Manually tested login and 2FA setup still work.

Reviewers: dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3228
This commit is contained in:
George Gevoian 2022-01-20 16:51:34 -08:00
parent cebd7b2d74
commit 3289fe330f

View File

@ -920,6 +920,7 @@ const cssAuthMethods = styled('div', `
const cssAuthMethod = styled('div', `
height: 120px;
border: 1px solid ${colors.mediumGreyOpaque};
border-radius: 3px;
cursor: pointer;
&:hover {
@ -931,13 +932,12 @@ const cssAuthMethodTitle = styled(cssIconAndText, `
font-size: ${vars.mediumFontSize};
font-weight: bold;
color: ${colors.lightGreen};
margin: 16px;
margin: 16px 16px 8px 16px;
`);
const cssAuthMethodDesc = styled('div', `
color: #8a8a8a;
padding-left: 28px;
margin: 16px;
padding-left: 40px;
`);
const cssInput = styled(input, `