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: remove singing requests #951

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Conversation

nguyentoanit
Copy link
Contributor

Starting October 2, 2023, SP-API no longer requires the use of AWS Identity and Access Management (IAM) or AWS Signature Version 4, which means developers will not need to register for IAM resources or sign SP-API requests with AWS Signature Version 4.

SP-API will continue to use Login with Amazon (LWA) access tokens for each SP-API request. LWA is based on OAuth 2.0, which has been broadly adopted for user-authorized exchanges across sites.

Ref:
https://developer-docs.amazon.com/sp-api/changelog/sp-api-will-no-longer-require-aws-iam-or-aws-signature-version-4

@nguyentoanit nguyentoanit requested a review from moltar November 14, 2023 04:23
@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bce6414) 57.77% compared to head (f361367) 57.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #951      +/-   ##
==========================================
- Coverage   57.77%   57.19%   -0.58%     
==========================================
  Files          65       65              
  Lines         592      584       -8     
  Branches       32       29       -3     
==========================================
- Hits          342      334       -8     
  Misses        245      245              
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@moltar
Copy link
Contributor

moltar commented Nov 14, 2023

Don't think we shall remove it. We just need to make sure it is optional. Otherwise, users will have a breaking change, if they assume the AWS4 signatures are still required.

Could be marked as @deprecated and to be removed in the future versions when major changes occur.

@nguyentoanit
Copy link
Contributor Author

@moltar : It makes sense. 👍

They were optional already.
Just mark as @deprecated for now.
f361367

@nguyentoanit nguyentoanit enabled auto-merge (squash) April 3, 2024 09:55
@nguyentoanit nguyentoanit merged commit 4169903 into master Apr 3, 2024
8 of 11 checks passed
@nguyentoanit nguyentoanit deleted the fix/remove-signing-requests branch April 3, 2024 09:56
github-actions bot pushed a commit that referenced this pull request Apr 3, 2024
# [7.0.0](v6.13.8...v7.0.0) (2024-04-03)

### Bug Fixes

* **deps:** update dependency aws4-axios to v3.3.4 ([#1018](#1018)) ([40f547d](40f547d))
* **deps:** update dependency axios to v1.6.8 ([#1023](#1023)) ([ae0275e](ae0275e))
* installs @scaleleap/semantic-release-config ([dccfedb](dccfedb))
* remove singing requests ([#951](#951)) ([4169903](4169903))
* update @scaleleap/semantic-release-config ([03d1fe4](03d1fe4))

### Features

* update API models ([#1031](#1031)) ([3215b39](3215b39)), closes [#1021](#1021) [#1022](#1022) [#564](#564)

### BREAKING CHANGES

* - Removes authorization API client. Refer to the [SP-API
Deprecations](https://developer-docs.amazon.com/sp-api/docs/sp-api-deprecations)
table for more information.

Adds support for:

- Data Kiosk APi
- Fulfillment Inbound API (`v20240320`)
- Shipping API (`v2`)
- Supply Sources API
Copy link
Contributor

github-actions bot commented Apr 3, 2024

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants