mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #595] Bug: Authorization Header is ignored #387
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#387
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BJAdeGraaf on GitHub (May 11, 2020).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/595
Description:
The custom header is getting ignored when authorizing. It seems it uses the default header
[:].For instance, I can't request "full access" with
headers: ["Access": "Full"], because it doesn't end up in the authorization URL.OAuth Provider? (Twitter, Github, ..):
SmugMug
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
11.4 (Swift 5.2)
11.x (Swift 5.1)
10.x (Swift 5.0)
other: (Please fill in the version you are using.)
objective c
@phimage commented on GitHub (May 14, 2020):
please debug and provide more information
https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuth1Swift.swift#L99
https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuth1Swift.swift#L160
https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuth1Swift.swift#L193