-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: user agent enhancements - auth reduction #11465
feat: user agent enhancements - auth reduction #11465
Conversation
…ain' into feat/user-agent-enhancements/auth-reduction
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## feat/user-agent-enhancements/main #11465 +/- ##
=====================================================================
- Coverage 83.37% 83.37% -0.01%
=====================================================================
Files 294 294
Lines 20804 20803 -1
Branches 4480 4480
=====================================================================
- Hits 17346 17345 -1
Misses 3171 3171
Partials 287 287
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
packages/amazon-cognito-identity-js/__tests__/UserAgent.test.js
Outdated
Show resolved
Hide resolved
// SignUp = '1', | ||
// ConfirmSignUp = '2', | ||
// ResendSignUp = '3', | ||
// SignIn = '4', | ||
// GetMFAOptions = '5', | ||
// GetPreferredMFA = '6', | ||
// SetPreferredMFA = '7', | ||
// DisableSMS = '8', | ||
// EnableSMS = '9', | ||
// SetupTOTP = '10', | ||
// VerifyTotpToken = '11', | ||
// ConfirmSignIn = '12', | ||
// CompleteNewPassword = '13', | ||
// SendCustomChallengeAnswer = '14', | ||
// DeleteUserAttributes = '15', | ||
// DeleteUser = '16', | ||
// UpdateUserAttributes = '17', | ||
// UserAttributes = '18', | ||
// CurrentUserPoolUser = '19', | ||
// CurrentAuthenticatedUser = '20', | ||
// CurrentSession = '21', | ||
// VerifyUserAttribute = '22', | ||
// VerifyUserAttributeSubmit = '23', | ||
// VerifyCurrentUserAttribute = '24', | ||
// VerifyCurrentUserAttributeSubmit = '25', | ||
// SignOut = '26', | ||
// ChangePassword = '27', | ||
// ForgotPassword = '28', | ||
// ForgotPasswordSubmit = '29', | ||
FederatedSignIn = '30', | ||
// CurrentUserInfo = '31', | ||
// RememberDevice = '32', | ||
// ForgetDevice = '33', | ||
// FetchDevices = '34', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need these commented codes?
Description of changes
Reduces auth user agent enhancements to send auth without the action number in amazon-cognito-identity-js per adjusted auth requirements.
Description of how you validated changes
Tested with sample app linking and unit test.
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.