mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #295] Instagram login error: serverError("No access_token, no code and no error provided by server") #175
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#175
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 @brdimattia on GitHub (Oct 18, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/295
Description: Instagram login not working returns an error:
serverError("No access_token, no code and no error provided by server")
after login and callback through heroku redirect
full code below:
OAuth Provider (Twitter, Github, ..):
Instagram
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
@phimage commented on GitHub (Oct 18, 2016):
Somewhere in your code you must have done " OAuthSwift.handle(url: )"
The url is from provider redirection which add some info to your callbackurl
Can you check the value of this url. The query of this url must contain one of this parameters : access_token, code, error
Then you deploy your own herokuapp?
@phimage commented on GitHub (Oct 18, 2016):
see #258 and https://github.com/OAuthSwift/OAuthSwift/wiki/Instagram
Did you follow this intruction?