mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #426] Issues with LinkedIn redirect url. How to handle "http" based redirect URLs? #276
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#276
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 @mervyn777 on GitHub (Dec 21, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/426
Description:
Looking at your demo project you have used "http" based redirect url (i.e
http://oauthswift.herokuapp.com/callback/linkedin2) to get token from LinkedIn. So how can we handle this scheme on our app when the oauthcodeis returned back by theSFSafariViewController?Your documentation only specifies custom scheme that the app can handle.
I tried setting up a custom redirect uri on LinkedIn page but it doesn't provide that option. It only accepts
httpsbased uri.OAuth Provider (Twitter, Github, ..):
LinkedIn
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
9.0 (Swift 4.0)
9.0 (Swift 3.2)
8.x (Swift 3.x)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@mervyn777 commented on GitHub (Dec 21, 2017):
Found my solution here: https://github.com/OAuthSwift/OAuthSwift/wiki/API-with-only-HTTP-scheme-into-callback-URL
@aakarshsasi commented on GitHub (Feb 5, 2020):
Did you do with it Safari Controller or had to switch to webview?