Skip to content
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

fix(cognito-identitypool): providerUrl causes error when mappingKey is not provided and it is a token #21191

Merged
merged 8 commits into from
Jul 30, 2022
Prev Previous commit
Fix test missed from previous commit
  • Loading branch information
SamStephens committed Jul 30, 2022
commit 5ffb940d8af8817b462cb7c9774b2787e10ef64d
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ describe('role mappings', () => {
providerUrl: IdentityPoolProviderUrl.userPool(providerUrl),
useToken: true,
}],
})).toThrowError('mappingKey must be provided when providerUrl.value is an unresolved token');
})).toThrowError('mappingKey must be provided when providerUrl.value is a token');
});

test('mappingKey respected when identity provider is a token', () => {
Expand Down