You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
14.3
Facebook iOS SDK version
14.1.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
Upon logging in to the Facebook app, it should return to the previous app, and the successful login callback must be invoked.
Expected results
Upon logging in to the Facebook app, it should return to the previous app, and the successful login callback must be invoked.
Actual results
When I invoked the login API of the Facebook iOS SDK, the transition to the Facebook app worked correctly. However, after logging in by selecting a profile in the Facebook app, although the Facebook app itself logged in, it did not return to the previous app, and the callback was not triggered.
Steps to reproduce
Prepare the Facebook app without an active login. (If already logged in, log out.)
Call the loginManager.logIn API with LoginConfiguration.tracking set to .enabled.
Transition to the Facebook app, and select the profile image within the Facebook app.
While the login is successful within the Facebook app, there is no transition back to the app that invoked the loginManager.logIn API, and the callback is not triggered.
Code samples & details
@IBActionfunc invokeLoginMethod(){
loginManager.logIn(
viewController:self,
configuration:.init(permissions:[.publicProfile,.email], tracking:.enabled)){[unowned self] result in
switch result {case.cancelled:self.presentAlert(
title:"Cancelled",
message:"Login attempt was cancelled")case.failed(let error):self.presentAlert(for: error)case.success:self.updateLoginButton()self.showLoginDetails()}}}
The text was updated successfully, but these errors were encountered:
Checklist before submitting a bug report
Xcode version
14.3
Facebook iOS SDK version
14.1.0
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
Upon logging in to the Facebook app, it should return to the previous app, and the successful login callback must be invoked.
Expected results
Upon logging in to the Facebook app, it should return to the previous app, and the successful login callback must be invoked.
Actual results
When I invoked the login API of the Facebook iOS SDK, the transition to the Facebook app worked correctly. However, after logging in by selecting a profile in the Facebook app, although the Facebook app itself logged in, it did not return to the previous app, and the callback was not triggered.
Steps to reproduce
Code samples & details
The text was updated successfully, but these errors were encountered: