facebook / facebook/facebook-ios-sdk

Infinite loading loop in Facebook Limited login

Open
#2,544 8 comments 2 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
Swift
Stars
8.1k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist before submitting a bug report

- [ ] I've updated to the latest released version of the SDK
- [x] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [x] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [x] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/main/CODE_OF_CONDUCT.md)
- [x] This issue is not security related and can safely be disclosed publicly on GitHub

### Xcode version

16.2

### Facebook iOS SDK version

17.0.3

### Dependency Manager

Building from Source

### SDK Framework

Login

### Goals

We use Facebook SDK (iOS) to allow users to authenticate with their Facebook accounts. However, on certain iPad devices, including:

iPad Pro 11 (4th Gen) running iOS 17.6.1
iPad 10.9 (2022) running iOS 16.0
iPad Pro 12.9 (6th Gen) running iOS 18.0

The popup browser fails to load the Facebook login page and gets stuck in an infinite loading loop and finally get error due to too many redirects.
Facebook SDK (iOS) version: 17.0.3

Can anyone help to check this issue?

Thanks,
Tommy

![Image](https://github.com/user-attachments/assets/8ba59a65-070e-4549-91cf-30ad07eec483)
![Image](https://github.com/user-attachments/assets/6561f1b3-c0b3-4eff-9e64-dbb72ebe38d5)
![Image](https://github.com/user-attachments/assets/660e30f0-906c-46dd-b741-1ed13967e7c3)

### Expected results

The FB login window can be shown correctly to the user.

### Actual results

Infinite loading and finally get an error because of too many redirects.

### Steps to reproduce

_No response_

### Code samples & details

```swift

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.