OAuthSwift icon indicating copy to clipboard operation
OAuthSwift copied to clipboard

Twitch Dev URL Scheme Issue

Open halilyuce opened this issue 4 years ago • 2 comments

Description:

I want to use the twitch login option but I can't add a URL scheme on the Twitch Dev portal. So, how can I get data without CallbackURL?

image

OAuth Provider? (Twitter, Github, ..):

Twitch

OAuth Version:

  • [ ] Version 1
  • [x] Version 2

OS (Please fill the version) :

  • [x] iOS :
  • [ ] OSX :
  • [ ] TVOS :
  • [ ] WatchOS :

Installation method:

  • [ ] Carthage
  • [x] CocoaPods
  • [ ] Swift Package Manager
  • [ ] Manually

Library version:

  • [ ] head
  • [x] v2.1.0
  • [ ] v2.0.0
  • [ ] v1.4.1
  • [ ] other: (Please fill in the version you are using.)

Xcode version:

  • [ ] 11.4 (Swift 5.2)
  • [ ] 11.x (Swift 5.1)
  • [ ] 10.x (Swift 5.0)
  • [x] other: (Please fill in the version you are using.) 13.2.1
  • [ ] objective c

halilyuce avatar Jan 31 '22 00:01 halilyuce

i have same issue

ldhios avatar Aug 04 '22 08:08 ldhios

then use https see demo app for some provider

two solution

  • have an internal web view and when url change call OAuthSwift.handle(url: url) in the web view delegate
  • have a real https server online, when he receive the url it redirect to your xxxYourScheme://yyy/fullurl

phimage avatar Aug 29 '22 07:08 phimage