[GH-ISSUE #666] SafariURLHandler presents SFSafariViewController without keyboard #430

Open
opened 2026-03-03 16:48:38 +03:00 by kerem · 1 comment
Owner

Originally created by @hermiteer on GitHub (Jun 19, 2021).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/666

Description:

SafariURLHandler presents SFSafariViewController without keyboard, making it impossible to type a password in to complete the OAuth flow on Twitch.

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.)
    2.1.2

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.)
    Xcode 12.5

  • objective c

Originally created by @hermiteer on GitHub (Jun 19, 2021). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/666 ### Description: SafariURLHandler presents SFSafariViewController without keyboard, making it impossible to type a password in to complete the OAuth flow on Twitch. ### 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 - [ ] CocoaPods - [x] Swift Package Manager - [ ] Manually ### Library version: - [ ] head - [ ] v2.1.0 - [ ] v2.0.0 - [ ] v1.4.1 - [x] other: (Please fill in the version you are using.) 2.1.2 ### 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.) Xcode 12.5 - [ ] objective c
Author
Owner

@phimage commented on GitHub (Jun 19, 2021):

any reason to not pass to ASWebAuthenticationSession ?

then you could edit the code to see if you find a fix
there is also a factory field to customise the instance github.com/OAuthSwift/OAuthSwift@2384f60031/Sources/Handler/SafariURLHandler.swift (L30)

<!-- gh-comment-id:864376852 --> @phimage commented on GitHub (Jun 19, 2021): any reason to not pass to ASWebAuthenticationSession ? then you could edit the code to see if you find a fix there is also a factory field to customise the instance https://github.com/OAuthSwift/OAuthSwift/blob/2384f60031ac824826fc367e6ed963b2c3eae797/Sources/Handler/SafariURLHandler.swift#L30
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#430
No description provided.