postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.85k stars 841 forks source link

Akamai EdgeGrid Authorization - Incorrect header signature on multi-part form data requests #13267

Open TimKilpatrick opened 1 week ago

TimKilpatrick commented 1 week ago

Is there an existing issue for this?

Describe the Issue

When creating a multi-part form data upload to an API using the Akamai EdgeGrid authorization library the signature is not correctly generated resulting in a "The signature does not match" error. While I am not able to review the code used to generate the EdgeGrid signatures within Postman I suspect it is not properly setup to handle signature generation for multi-part form data. I am able to submit the same request, with the same multi-part form data via HTTPie using the Akamai EdgeGrid library to the same API endpoint successfully.

Can you please review the Python EdgeGrid library to determine any deltas in how Postman generates the signature for EdgeGrid vs how it is done in this library, which works correctly? https://github.com/akamai/AkamaiOPEN-edgegrid-python/blob/master/akamai/edgegrid/edgegrid.py

As more customers adopt APIs for Akamai, the ability to properly support a multi-part form data API call is becoming increasingly important.

Steps To Reproduce

  1. Create an API request following the guide for Akamai EdgeGrid
  2. Select form-data and specify a key with file reference for upload
  3. Execute request - Response will be "The signature does not match"

Screenshots or Videos

No response

Operating System

macOS

Postman Version

11.6.2

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response