GithubHelp home page GithubHelp logo

auth0 / lock-facebook.ios Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 6.0 109 KB

Lock for iOS add-on to use Facebook iOS SDK

Home Page: https://auth0.com/lock

License: MIT License

Ruby 3.15% Objective-C 94.36% C 2.49%

lock-facebook.ios's People

Contributors

annyv2 avatar cocojoe avatar hzalaz avatar nicosabena avatar rolodato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lock-facebook.ios's Issues

Compilation error after update to Xcode 7.3

I just installed Xcode 7.3 and I got the following compilation errors that I didn't have previously. I didn't touch anything else, my pod is loaded with pod 'Lock-Facebook', '~> 2.1':

Project/Pods/Lock-Facebook/LockFacebook/FacebookProvider.m:25:9: Could not build module 'FBSDKCoreKit'

and

Project/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h:26:10: Include of non-modular header inside framework module 'FBSDKCoreKit.FBSDKAppLinkResolver'

What's wrong?

Facebook Profile Image

Is there a way to get a bigger facebook profile image? Auth0 is handing me a 50x50 image which is too small for the purposes of the current UI I am developing.

Sample App for Facebook Login

Do you have any sample app that opens the native Facebook app on iOS device?

I am currently developing a project and I am not successful in opening the native facebook app. My app always open facebook from a browser when I login with facebook.

I have followed instructions here but still it won't work.

I will appreciate any effort for helping me by anyone. Just tell me what details you need in my app for your validation.

Thanks.

Recovering from a 401

To test some flows, I declined the permissions that Facebook was asking. Now, whenever I attempt to call [[lock identityProviderAuthenticator] authenticateWithConnectionName:@"facebook"...];, I always get a 401 error until I uninstall and reinstall the app. There doesn't seem to be any documentation around recovering from this issue, so is there something obvious that I'm missing?

What I've tried so far:

  • Clearing safari history
  • Clearing facebook app permission in test user profile

Carthage Compilation Error

I believe this is related to #10, but adding the Lock-Facebook to my Cartfile results in a build failure.

Cartfile

# Auth0
github "auth0/Lock.iOS-OSX" ~> 1.26
github "auth0/Lock-Facebook.iOS" ~> 2.1
github "auth0/SimpleKeychain" ~> 0.6.1
# End Auth0

Error:

*** Building scheme "LockFacebook" in LockFacebook.xcworkspace
** BUILD FAILED **


The following build commands failed:
    CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/armv7/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/arm64/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
/Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook/A0FacebookAuthenticator.h:24:9: fatal error: 'Lock/A0BaseAuthenticator.h' file not found
/Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook/A0FacebookAuthenticator.h:24:9: fatal error: 'Lock/A0BaseAuthenticator.h' file not found
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/vedpetkar/Development/neutun-ios/Neutun-iOS/Carthage/Checkouts/Lock-Facebook.iOS/LockFacebook.xcworkspace -scheme LockFacebook -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/armv7/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/vedpetkar/Library/Developer/Xcode/DerivedData/LockFacebook-gvfudtiiznibmsfppaflzzacagxw/Build/Intermediates/LockFacebook.build/Release-iphoneos/LockFacebook.build/Objects-normal/arm64/A0FacebookAuthenticator.o LockFacebook/A0FacebookAuthenticator.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)

Carthage will build fine if that line is commented out. Looking for any possiblities.

No indication of existing user when authenticating with Facebook

As part of my app's sign up flow, I call [lock identityProviderAuthenticator authenticateWithConnectionName:@"facebook"...]]. This doesn't appear to distinguish between new and existing users, unlike the email/password sign up flow. Are there any strategies for recognizing existing users authenticated through social?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.