mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #145] Bug when extracting the parameters from the query string #90
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#90
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 @mohwaili on GitHub (Nov 10, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/145
Ampersand in the parameters dictionary after authenticating. Off course the authentication will always fail.
@phimage commented on GitHub (Nov 10, 2015):
I think callback url is malformed : ..avans?&oauth... must be ..avans?oauth...
Maybe url RFC allow it, but I think it's bad
So I think nothing will be done into OAuthSwift code to support that
Maybe the workaround is change your callback url by adding a parameter
..avans?dummy=1
and maybe the website will return a callback url like that ..avans?dummy=1&oauth...
@mohwaili commented on GitHub (Nov 10, 2015):
@phimage thank you, adding the dummy=1 fixed the problem