We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15.4
17.1.0
SPM
Login
Authenticated login with Facebook app on iPhone and returns success
The JWT containing AuthenticationToken.current?.tokenString after login must have a properly formatted title, body, and signature.
Always open login form
Set Up Facebook App and Run Sample Code
// INSERT YOUR CODE HERE func getFBToken() { let nonce = UUID().uuidString let loginManager = LoginManager() // Ensure the configuration object is valid guard let configuration = LoginConfiguration( permissions:["public_profile"], tracking: .limited, nonce: nonce ) else { return } loginManager.logIn(configuration: configuration) { result in switch result { case .failed(let error): print("loginFaceBook failed: ") case .cancelled: print("loginFaceBook cancelled: ") case .success(let grantedPermissions, let declinedPermissions, let token): print("loginFaceBook success: ") // getting id token string let tokenString = AuthenticationToken.current?.tokenString } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist before submitting a bug report
Xcode version
15.4
Facebook iOS SDK version
17.1.0
Dependency Manager
SPM
SDK Framework
Login
Goals
Authenticated login with Facebook app on iPhone and returns success
Expected results
The JWT containing AuthenticationToken.current?.tokenString after login must have a properly formatted title, body, and signature.
Actual results
Always open login form
Steps to reproduce
Set Up Facebook App and Run Sample Code
Code samples & details
The text was updated successfully, but these errors were encountered: