Skip to content

[Bug] Oauth 1 signature calculations does not include body #1137

Open

Description

@omegalink12
  • Insomnia Version: 6.0.2
  • Operating System: Win 7 SP2

Details

According to the specification, body parameters are included in signature calculations. This is done by putting them in the requestData.data object for oauth-1.0a. However, this isn't done in the linking code. I guess this is because there's no nice way to deal with body content as parameters.

Activity

  1. welcome commented on Aug 24, 2018

    @welcome

    👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure
    you include steps to reproduce it. If you're requesting a feature 🎁, please provide real
    use cases that would benefit. 👪

    To help make this a smooth process, please be sure you have first read the
    contributing guidelines.

  2. gschier commented on Aug 27, 2018

    @gschier
    Contributor

    I haven't really ever used OAuth 1.0, so don't know much about it. But, it seems like the body should only be included in the signature base string if it's a application/x-www-form-urlencoded request.

    It seems like it should be an easy thing to add. Like you said, we should just need to decode the body and put each key/value pair in the data parameter.

  3. locked and limited conversation to collaborators on Jun 30, 2021
  4. unlocked this conversation on Jul 1, 2021
  5. wdawson commented on Jul 1, 2021

    @wdawson
    Contributor

    Sorry folks! This was incorrectly tagged as a feature request along with other bugs. I'm going back through and cleaning up, sorry for the inconvenience.

  6. reopened this on Jul 1, 2021
  7. added
    B-bugBug: general classification
    and removed on Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-oauthArea: OAuthB-bugBug: general classificationE-good-first-issueExperience required: Beginner / New

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions