OAuthSwift
OAuthSwift copied to clipboard
Twitch Dev URL Scheme Issue
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?

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
i have same issue
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