Created
January 2, 2012 18:31
-
-
Save ikarius/1551642 to your computer and use it in GitHub Desktop.
Facebook SSO workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Regarde aux alentours de la ligne 267 de Facebook.m (ça dépends des versions toutefois): | |
// Le SSO foire avec SAFARI, donc désactive le redirect vers Safari... | |
- (void)authorize:(NSArray *)permissions | |
urlSchemeSuffix:(NSString *)urlSchemeSuffix { | |
self.urlSchemeSuffix = urlSchemeSuffix; | |
self.permissions = permissions; | |
// ICI | |
[self authorizeWithFBAppAuth:NO safariAuth:NO]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment