facebook-android-sdk icon indicating copy to clipboard operation
facebook-android-sdk copied to clipboard

Clicking the cancel button on the login will open an empty page in separate browser

Open TalverseZaidi opened this issue 2 years ago • 3 comments

Checklist before submitting a bug report

Java version

11.0.7

Android version

All Android Versions

Android SDK version

13.1.0

Installation platform & version

Gradle

Package

Login

Goals

It should get back to my app on cancel. 213367061-d43dabcb-6839-4be2-a04c-fc32f3ddd5f0

Expected results

It should not open any link or browser if user cancels the dialog. It should get back to my app.

Actual results

During Facebook login it shows a login dialog and when I click on Cancel, it opens a dead link with blank page. URL: 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%25229c4018a5-d0fb-40ca-b866-6d173389e50f%2522%252C%25223_method%2522%253A%2522katana_proxy_auth%2522%257D&h=AT3vuLgamxGoMltlEaA9Uhpdd9Yz_ma2cIKYNShOjOsvC-mjYt6miRim57XZHH7Vmo2e9V-Z66ARiiFcmvE1olgfg59_hu1BfTVAkugRyPAOSjR9cPv3Je8sI6OJ8m-wR3ip

Steps to reproduce

Normal use of LoginButton in my app with facebook latest version Facebook SDK sdk-version-15.2.0

Code samples & details

// INSERT YOUR CODE HERE

TalverseZaidi avatar Jan 26 '23 06:01 TalverseZaidi

The same bug for me in latest Facebook SDK v16.0.0. Any solution please?

nolimitdev avatar Mar 28 '23 14:03 nolimitdev

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

nolimitdev avatar Mar 28 '23 14:03 nolimitdev

GIF VIDEO (click play to start):

sign-in-cancel-blank-page

nolimitdev avatar Apr 14 '23 07:04 nolimitdev