Clancey / simple_auth

The Simplest way to Authenticate in Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redirect from facebook not being catched

PedroRTomas opened this issue · comments

Hello,
I successfully implement the login and media fetch from Instagram and was trying to do something similar using implemented Facebook API functionalities, however, that is not being possible:
#Issue
After login with a valid Facebook account, the page opens the redirect Url instead of getting the needed parameters present in the URL and returning the user object.

#Code to reproduce
https://www.dropbox.com/s/fv8pm61tqq3mjw7/facebook_login.dart?dl=0
(If you have any problems accessing the code, please let me know)

#Expected Behaviour
The code on the URL is caught and then the normal flow of exchanging the code for the token is triggered.

##More useful information
AndroidManifest.xml
image

pubspec.yaml
image

Any thoughts?

Thanks in advance,
Pedro Tomás

I have the same problem.
Instagram works fine but the redirection with facebook doesn't work. The redirect URL is opened.

@PedroRTomas , how did you manage this problem ? Any solution or workaround?