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.82k stars 838 forks source link

OAuth1.0a Signature Different when using variable in Request URL #10165

Open jericromero opened 3 years ago

jericromero commented 3 years ago

Is there an existing issue for this?

Describe the Issue

When using variable in the URL, OAuth signature is different from the actual URL.

Steps To Reproduce

  1. Create variable sampleUrl = https://www.google.com
  2. Create OAuth 1.0 Authentication

See the request tab URL authorization oauth signature

  1. Change the {{sampleUrl}} in the request to https://www.google.com See the Authorization oauth signature

Screenshots or Videos

No response

Environment Information

- Operating System: 
- Platform Type: 
- Postman Version:

Additional Context?

No response

DannyDainton commented 3 years ago

Hey @jericromero

Can you provide an example (Images or a recording) of the issue and the Environment Information, please.

jericromero commented 3 years ago
  1. image

  2. Variable
    image

  3. Authorization Details:

    • Type: OAuth 1.0
    • Request Headers
    • Signature Method: HMAC-SHA256
    • COnsumer Key: test
    • Consumer Secret: test
    • Timestamp: 123
    • Nonce: 123
    • Version 1.0
  4. image

Authorization Details: OAuth oauth_consumer_key="test",oauth_signature_method="HMAC-SHA256",oauth_timestamp="123",oauth_nonce="123",oauth_version="1.0",oauth_signature="PXbew8fuNHEpbv2mNuAyztT9mnOpSwnBnWof4dSXyfo%3D"

  1. image

Authorization Details: OAuth oauth_consumer_key="test",oauth_signature_method="HMAC-SHA256",oauth_timestamp="123",oauth_nonce="123",oauth_version="1.0",oauth_signature="7AOdSDabMwfEOliXV1PcF4X96DlGwGuhHCTxf%2F2%2BOnc%3D"

jericromero commented 3 years ago

@DannyDainton
The oauth signature is different