mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #88] Uber Authentication Fails with "Invalid Request Parameters" #53
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#53
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 @sephethus on GitHub (Aug 2, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/88
This code gets a response from Uber's site saying "Invalid Request Parameters". Something is wrong with the way the request is sent to Uber and I'm not sure what yet.
This is the string that gets sent to uber (api key replaced with *****)
Here is the authorizeWithCallbackURL method:
@sephethus commented on GitHub (Aug 9, 2015):
I think I have solved the problem with Uber, this will require modification of OAuth2Swift.swift, just comment out the line that says:
Therefore:
Also, use the following URL for your callback:
I can see the code coming back to me when it returns me to my app, I'm using appdelegate openURL to run oauth2swift.handleopenurl(url). It crashes at this point, so on with the next problem.
@dongri commented on GitHub (Aug 26, 2015):
Hi @sephethus
I Resolved Uber OAuth problem
https://github.com/dongri/OAuthSwift/pull/96/files
Thanks!
@dongri commented on GitHub (Aug 26, 2015):
Uber Wiki
https://github.com/dongri/OAuthSwift/wiki/Uber