[GH-ISSUE #692] Twitch Dev URL Scheme Issue #448

Open
opened 2026-03-03 16:48:45 +03:00 by kerem · 2 comments
Owner

Originally created by @halilyuce on GitHub (Jan 31, 2022).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/692

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
Originally created by @halilyuce on GitHub (Jan 31, 2022). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/692 ### 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](https://user-images.githubusercontent.com/29376592/151724460-31249e9e-5beb-4087-8ae9-d12483e8c735.png) ### 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
Author
Owner

@ldhios commented on GitHub (Aug 4, 2022):

i have same issue

<!-- gh-comment-id:1204923765 --> @ldhios commented on GitHub (Aug 4, 2022): i have same issue
Author
Owner

@phimage commented on GitHub (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
<!-- gh-comment-id:1229894423 --> @phimage commented on GitHub (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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#448
No description provided.