mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 05:05:51 +03:00
[GH-ISSUE #205] Add in REAME a check for an application is calling you #116
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#116
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 @vronin on GitHub (Mar 13, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/205
Current example in REAME looks like that:
However, this leaves an application open for abuses. Any other application may try to open a URL and this app will accept it.
The better check would be
@vronin commented on GitHub (Mar 13, 2016):
BTW. I think it make sense to add this check for pre-OS 9 example too (just to be on the same side)
@phimage commented on GitHub (Mar 15, 2016):
agree to add some info about it into readme.md (and edit demo code)
but maybe just a chapter because if there is other value than "com.apple.SafariViewService"
This value is for external safari app and/or new safari(internal)controller?
@vronin commented on GitHub (Mar 15, 2016):
Yeah. You right. There could be other browser. I just implied SafariViewService, because I was using it.
This value is for new SFSafariViewController. It looks (from UI perspective) as internal, but it's actually executed in a separate process.