mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #170] Error with SafariURLHandler and OAuth2Swift #100
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bcongdon on GitHub (Jan 9, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/170
When I try to do
oauthswift.authorize_url_handler = SafariURLHandler(viewController: self), I get the following error:I've gotten
SafariURLHandlerto work usingOAuth1Swift, but for some reason it returns this error withOAuth2Swift.I looked into the source and saw nothing that would differentiate these classes enough to cause the issue.
For what it's worth, I'm trying to authenticate with Fitbit using the
code -> tokenchange per #159. I'm kinda stumped at this point...@bcongdon commented on GitHub (Jan 9, 2016):
Whoops, rookie mistake. Tried calling this in
ViewDidLoad().