mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #474] Callback URL for Twitter? #310
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#310
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 @jonnyijapan on GitHub (Jun 26, 2018).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/474
What is the callback URL used for Twitter?
Recently Twitter has started to require a callback URL for OAuth 1.0a.
@phimage commented on GitHub (Jun 26, 2018):
Recently? Callback url is necessary to get the access token to the api. 👿
It is your own url to get it (http server or application url scheme)
Please read the README and wiki
@jonnyijapan commented on GitHub (Jun 26, 2018):
I mean for the demo - I see now that the existing one is
http://oauthswift.herokuapp.com/callback/twitterbut we have to set it to the app one, should be something like
oauth-swift://oauth-callback/twitter?And this has to be whitelisted at apps.twitter.com
@phimage commented on GitHub (Jun 26, 2018):
This one is for the demo app, an application with url scheme oauth-swift
You must have your own (please read readme...)
and yes you must white list some urls for some providers, and twitter I think need it
@jonnyijapan commented on GitHub (Jun 26, 2018):
The wiki says
which isn't really true anymore for Twitter. They now allow and require custom url schemes for apps. https://twittercommunity.com/t/action-required-sign-in-with-twitter-users-must-whitelist-callback-urls/105342
@phimage commented on GitHub (Jun 26, 2018):
@jonnyijapan I do not see where custom url scheme(ie. oauthswift:// for the demo app) must be used in the link
this talk only about white listed callback urls or I miss something
@phimage commented on GitHub (Jun 26, 2018):
my app setup in twitter
