I am using LinkedIn authentication to log in into my iOS app. It was working fine until few days back. It suddenly stopped working without any changes in the code.
When a user tries to log in via oauth, it just fails with the error message - Domain=LIALinkedInERROR Code=2 and no localised description. However, authentication via LinkedIn app works. I've tried searching on the internet for similar issue but couldn't find anything related. I have also tried it on other apps on play store and its the same with those apps too. Has LinkedIn changed the API's or something?
Related
Issue
When we try to log in with developer or testers accounts on iOS, we get the error Unsupported Request. Our app was disabled because the tester could not login due to this error.
Scenario
It works on android
We noted that while the app was in review (activated) users successfully logged in using facebook in iOS devices. That makes us believe this is a problem only with developer and testers accounts
We also noted that when we try login with a tester account an openid item is added to the permissions granted. Before this permission is added we manage to login on web, after this token is added we get the same error on web (Unsupported request)
We already filed a bug report to Facebook and we're waiting for a response.
We're using the react-native-fbsdk-next module and this issue has some more info. We're now trying the approach suggested on this comment
Have anybody managed to solve this? It really looks like a Facebook Bug.
Edit (2021-11-24)
The approach mentioned here works partially: works when logging in through Safari but does not work when Safari is not logged in and the app is used.
We're still waiting for Facebook's response
Facebook SDK versions behavior summary
v7.0.1 (react-native-fbsdk: 2.0.0):
Works when using Safari
Does not work when using FB App
v9.0.1 (react-native-fbsdk-next: 4.2.0):
Does not work both through Safari and FB app
v12.1.0 (react-native-fbsdk-next: 6.1.1):
Does not work both through Safari and FB app
Edit (2021-11-25)
We removed Facebook integration for the iOS app because we could not keep going without Facebook login for Android users. The app was reactivated and, after that, we generated a new production build and it's working as it should
We're still waiting for Facebook's response
I developed a webapp which is accessing a user's Google Calendar and which was
working fine using Google's OAuth in the browser. But when a user puts it to his homescreen on iOS, it says something like "OAuth is no more supported in embedded browsers".
After searching the web I found out, this message is caused by Safari which reports a different user agent when opening it from homescreen.
But still I could not find any solution to that problem. Seems like I have to change the authentication completely to get it working.
Is there a way to "fix" Safari or is there a another authentication method? (Already saw Firebase, but I am not sure if it will work in for my situation).
My App used to work fine and upload without any issues, but now I'll get Error 401 and the solution seems to be re-authenticating according to the documentation. The thing is, I do not know if that refers to something I can do on the Dropbox Developer Console or if it's something that I must do on my App.
I had implemented twitter in two apps with plain auth concept twitter Authentication
It is working fine when only one app is installed in the device. But when both apps are installed in the app then during twitter login from first app, while authorisation control moves to second app.
I have checked both the callback urls and bundle identifiers, they are different for both the apps. But still there is same issue.
I am unable to find the error. If anyone has some idea please help me out.
Thanks
I am building a Parse driven iOS application and am having some strange issues with Facebook login. Upon initializing my facebook permissions, I am asking for #"email" and nothing else. The login works when the user does not have the facebook iOS application installed on their device - and authenticates through safari (or another web browser). When the user DOES have the facebook iOS application installed and tries to grant permission to my app, the following error is displayed:
I have read through multiple tutorials and related stack overflow issues, and have yet to figure this one out. I tested this out with both an older version of the facebook SDK and the brand new one (3.5). Neither of those solutions appears to work. Anyone have any ideas? Thank you kindly.
Try with both #"email" and #"basic_info". This is currently documented on the Android side, but not iOS, which is weird - https://developers.facebook.com/docs/howtos/androidsdk/3.0/native-login/