I have a question regarding social login for horsedeal24.com. We’re using Sharetribe Flex as API solution for our marketplace app and just configured social login. We relied on these documentations:
Google: https://www.sharetribe.com/docs/cookbook-social-logins-and-sso/enable-google-login/
Facebook: https://www.sharetribe.com/docs/cookbook-social-logins-and-sso/enable-facebook-login/
We now noticed that users can’t login if they use our android browser app – it seems that our app does not have permission yet for OAuth (see screenshots) but we also don’t know how to grant access.
Google Error: 403:disallowed_useragent
Facebook Error: For your account security, logging into Facebook from an embedded browser is disabled.
Here you can download our beta version of our android app to reproduce the issue. Simply try to create an account by using social login.
Thanks in advance for your help!
Best regards,
Beni
2
Answers
The problem is that the Facebook Login is disabled if you try to open from inside a
WebView
in an Android device.The solution must be implement the native Facebook Login with the Facebook SDK for android
Facebook Login for Android – Quickstart
or just open your login form in the mobile browser.
this issue is most likely because of you are not using the latest facebook login sdk version which is 8.2 .
follow the instructions in
this article