mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #134] What's about Magento Rest API? #79
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#79
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 @kphetrungnapha on GitHub (Oct 31, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/134
I had changed some parameters and url endpoint for matching with Magento Rest API. Unfortunately, when I granted and callback from webview to my app again the response always said
"Error Domain=oauthswift.error Code=-1 "Oauth problem." UserInfo={NSLocalizedFailureReason=Oauth problem.}"
Thank you for your help.
@phimage commented on GitHub (Oct 31, 2015):
did you set
oauth.allowMissingOauthVerifier=trueyou must do that when the api don't return the security parameter
oauth_verifierthe other reason could be that the returned parameter by api is not named
oauth_tokenortokenps: If this work please close the issue
@kphetrungnapha commented on GitHub (Nov 1, 2015):
I have resolved it. The error was happened because when it was callback from Magento to my app, I forgot to append query string from Magento with my scheme before callback. However, thank you for your answer. :)