[GH-ISSUE #533] How to mimic Postman setting "Add authorization data to Request Body/Request URL" #349

Closed
opened 2026-03-03 16:47:58 +03:00 by kerem · 1 comment
Owner

Originally created by @flangel on GitHub (Jul 5, 2019).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/533

Description:

Hi, I am using POSTMAN to execute a GET OAuth1 request. It works nicely in Postman
I am now trying to execute this call using OAS, but cannot achieve this.

I fail to mimic the "Add authorization data to Request Body/Request URL" setting you can set in postman. The request only works if i use that setting. See here

image

When i use this option, the authorization data (parameters) are added to the Request URL as query parameter.

Is there an option to do this in OAS?
Thanks a lot

OAuth Provider? (Twitter, Github, ..):

Woocommerce

OAuth Version:

  • [x ] Version 1
  • Version 2

OS (Please fill the version) :

  • iOS :
  • OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • CocoaPods
  • [x ] Swift Package Manager
  • Manually

Library version:

  • head
  • [x ] v2.0.0
  • v1.4.1
  • v1.2.1
  • v1.2 (Swift 4.0)
  • v1.0.0
  • v0.6
  • other: (Please fill in the version you are using.)

Xcode version:

  • 11.x (Swift 5.1)

  • [ x] 10.x (Swift 5.0)

  • 10.x (Swift 4.1)

  • 9.3 (Swift 4.1)

  • 9.0 (Swift 4.0)

  • other: (Please fill in the version you are using.)

  • objective c

Originally created by @flangel on GitHub (Jul 5, 2019). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/533 ### Description: Hi, I am using POSTMAN to execute a GET OAuth1 request. It works nicely in Postman I am now trying to execute this call using OAS, but cannot achieve this. I fail to mimic the "Add authorization data to Request Body/Request URL" setting you can set in postman. The request only works if i use that setting. See here ![image](https://user-images.githubusercontent.com/2772980/60738032-20a57500-9f5d-11e9-8c6b-fda081db7a41.png) When i use this option, the authorization data (parameters) are added to the Request URL as query parameter. Is there an option to do this in OAS? Thanks a lot ### OAuth Provider? (Twitter, Github, ..): Woocommerce ### OAuth Version: - [x ] Version 1 - [ ] Version 2 ### OS (Please fill the version) : - [x] iOS : - [ ] OSX : - [ ] TVOS : - [ ] WatchOS : ### Installation method: - [ ] Carthage - [ ] CocoaPods - [x ] Swift Package Manager - [ ] Manually ### Library version: - [ ] head - [x ] v2.0.0 - [ ] v1.4.1 - [ ] v1.2.1 - [ ] v1.2 (Swift 4.0) - [ ] v1.0.0 - [ ] v0.6 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [ ] 11.x (Swift 5.1) - [ x] 10.x (Swift 5.0) - [ ] 10.x (Swift 4.1) - [ ] 9.3 (Swift 4.1) - [ ] 9.0 (Swift 4.0) - [ ] other: (Please fill in the version you are using.) - [ ] objective c
kerem closed this issue 2026-03-03 16:47:58 +03:00
Author
Owner

@flangel commented on GitHub (Jul 5, 2019):

Hi, sorry for bothering. Got it. Thanks a lot, great framework!

<!-- gh-comment-id:508845347 --> @flangel commented on GitHub (Jul 5, 2019): Hi, sorry for bothering. Got it. Thanks a lot, great framework!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#349
No description provided.