chore(cognito-identitypool): refactor and remove Digits authentication provider#31482
chore(cognito-identitypool): refactor and remove Digits authentication provider#31482mergify[bot] merged 15 commits intoaws:mainfrom
Conversation
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.
|
Exemption Request - this is a refactor; seeing no changes to the integ tests is expected |
There are so many proper nouns that are not proper nouns...
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
packages/@aws-cdk/aws-cognito-identitypool-alpha/lib/identitypool.ts
Outdated
Show resolved
Hide resolved
…ool.ts Co-authored-by: Shikha Aggarwal <shikhaaggarwal1995@gmail.com>
comcalvi
left a comment
There was a problem hiding this comment.
I don't think merging is worth it...we should ask customers to specify the name of the thing that they need to, not some arbitrary value that makes our lives easier, but not theirs.
packages/@aws-cdk/aws-cognito-identitypool-alpha/test/integ.identitypool.ts
Show resolved
Hide resolved
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.
|
Will update the integ test, since trying to |
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
@Mergifyio update |
❌ Mergify doesn't have permission to updateDetailsFor security reasons, Mergify can't update this pull request. Try updating locally. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
N/A
Reason for this change
The authentication providers and their logic in this module have bad code smells, and thus, we have refactored them to bring the module more in line with CDK standards and best practices. In addition, the Digits authentication provider has been deprecated since September 2017, so it has been removed.
Description of changes
IdentityPoolProvidersandIdentityPoolAuthenticationProvidersinterfaces have been merged, as there did not seem to be a reason to keep them separate, aside from differentiating third-party and internal providers.Description of how you validated changes
Unit tests and integration tests have been tweaked only as necessary to confirm these changes. Since they all still pass or show no need to be updated, we can confirm that this refactor does not affect them. The integration test has also been updated to reflect that the previous Google prop for
clientSecretis deprecated, and useclientSecretValueinstead.BREAKING CHANGE: The
IdentityPoolProviderType.DIGITSandIdentityPoolProviderUrl.DIGITSenum values, andIdentityPoolDigitsLoginProviderinterface have been removed, as well as thedigitsattribute of theIdentityPoolAuthenticationProvidersinterface.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license