[GH-ISSUE #118] App Store issue - Safari #72

Closed
opened 2026-03-03 16:45:26 +03:00 by kerem · 3 comments
Owner

Originally created by @nabil-takla on GitHub (Oct 3, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/118

My app was rejected by the App Store for the following reason: Upon launching the app, a web page in mobile Safari opens for logging in LinkedIn, then returns the user to the app. The user should be able to log in without opening Safari first. Any suggestions?

Originally created by @nabil-takla on GitHub (Oct 3, 2015). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/118 My app was rejected by the App Store for the following reason: Upon launching the app, a web page in mobile Safari opens for logging in LinkedIn, then returns the user to the app. The user should be able to log in without opening Safari first. Any suggestions?
kerem closed this issue 2026-03-03 16:45:26 +03:00
Author
Owner

@phimage commented on GitHub (Oct 3, 2015):

see demo and oauthswift.authorize_url_handler = ... to not open external safari

<!-- gh-comment-id:145270979 --> @phimage commented on GitHub (Oct 3, 2015): see demo and `oauthswift.authorize_url_handler = ...` to not open external safari
Author
Owner

@nabil-takla commented on GitHub (Oct 3, 2015):

Thanks! Which file is this in?

<!-- gh-comment-id:145274022 --> @nabil-takla commented on GitHub (Oct 3, 2015): Thanks! Which file is this in?
Author
Owner

@phimage commented on GitHub (Oct 3, 2015):

you can search in github in the current depository
https://github.com/dongri/OAuthSwift/search?utf8=%E2%9C%93&q=oauthswift.authorize_url_handler+%3D

You will see
oauthswift.authorize_url_handler = WebViewController()

WebViewController is a class that you implement with an UIWebView or WKWebView
The example use UIWebView

P.S. Please close this issue when you have found the solution

<!-- gh-comment-id:145275692 --> @phimage commented on GitHub (Oct 3, 2015): you can search in github in the current depository https://github.com/dongri/OAuthSwift/search?utf8=%E2%9C%93&q=oauthswift.authorize_url_handler+%3D You will see `oauthswift.authorize_url_handler = WebViewController()` `WebViewController` is a class that you implement with an `UIWebView` or `WKWebView` The example use `UIWebView` P.S. Please close this issue when you have found the solution
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#72
No description provided.