facebook-android-sdk
facebook-android-sdk copied to clipboard
Clicking the cancel button on the login will open an empty page in separate browser
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
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
1.11
Android version
Android 12
Android SDK version
13.1.0
Installation platform & version
Gradle
Package
Login
Goals
I want go back to my app when I click cancel on the login screen
Expected results
Return to My app when click Cancel
Actual results
It will open a blank page in separate browser with:
https://lm.facebook.com/l.php?u=fbconnect%3A%2F%2Fsuccess%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%26state%3D%257B%25220_auth_logger_id%2522%253A%2522533d9119-52d8-41a5-8ae7-43297c94780f%2522%25Y1%25223_method%2522%253A%2522katana_proxy_auth%2522%257D&h=AT1saaalYGNPZ4UdNgQAqdFj32KCJ4MgYog2PrUHRAffAM-FLMhLxxxtczpGDkRNnvBEndF5ZzbOfERRCFh4H-42SNj500XssD-SnfRliVdfpo1_kMsx_avdMbBt8SnhPgyu
And when I go back and cancel again, it continues to pop up the browser with the link above, which prevents me from cancelling properly
Steps to reproduce
Normal use of LoginButton
in my app with facebook version 397.0.0.23.404 installed
+1. I have the same problem
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
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
1.11
Android version
Android 12
Android SDK version
13.1.0
Installation platform & version
Gradle
Package
Login
Goals
I want go back to my app when I click cancel on the login screen
Expected results
Return to My app when click Cancel
Actual results
It will open a blank page in separate browser with:
https://lm.facebook.com/l.php?u=fbconnect%3A%2F%2Fsuccess%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%26state%3D%257B%25220_auth_logger_id%2522%253A%2522533d9119-52d8-41a5-8ae7-43297c94780f%2522%25Y1%25223_method%2522%253A%2522katana_proxy_auth%2522%257D&h=AT1saaalYGNPZ4UdNgQAqdFj32KCJ4MgYog2PrUHRAffAM-FLMhLxxxtczpGDkRNnvBEndF5ZzbOfERRCFh4H-42SNj500XssD-SnfRliVdfpo1_kMsx_avdMbBt8SnhPgyu
And when I go back and cancel again, it continues to pop up the browser with the link above, which prevents me from cancelling properly
Steps to reproduce
Normal use of
LoginButton
in my app with facebook version 397.0.0.23.404 installed
I am facing the same issue.
Three identical issues reported. Problem is serious and should be fixed.
https://github.com/facebook/facebook-android-sdk/issues/1158
https://github.com/facebook/facebook-android-sdk/issues/1159
https://github.com/facebook/facebook-android-sdk/issues/1161
GIF VIDEO (click play to start):