Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitch Dev URL Scheme Issue #692

Open
5 of 20 tasks
halilyuce opened this issue Jan 31, 2022 · 2 comments
Open
5 of 20 tasks

Twitch Dev URL Scheme Issue #692

halilyuce opened this issue Jan 31, 2022 · 2 comments

Comments

@halilyuce
Copy link

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
  • Version 2

OS (Please fill the version) :

  • iOS :
  • OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • CocoaPods
  • Swift Package Manager
  • Manually

Library version:

  • head
  • 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)
  • other: (Please fill in the version you are using.)
    13.2.1
  • objective c
@ldhios
Copy link

ldhios commented Aug 4, 2022

i have same issue

@phimage
Copy link
Member

phimage commented Aug 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants