Google OAuth denied in webapp when Safari was started via iOS homescreen - ios

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).

Related

Facebook login in react-native WebView

I am developing a simple web browser (WebView) using react-native.
Everything works well except logging into Facebook.
The website has a Facebook login and when I tap it, it takes me to the in-app mobile Facebook login page. Entering the correct user/pass redirects me to /dialog/oauth?redirect_uri=https://staticxx.facebook.com/connect....... and I get stuck there.
Without using react-native-fbsdk how do I solve this?
Using the same site on desktop and mobile safari works well. (Although it opens a new tab).
Trying https://meetup.com fails as well but https://vimeo.com works well.
Is there anything I should be aware of or is it a problem with the websites?

LinkedIn oauth failing with no error

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?

Google Sign-in not working with Polymer on iOS

I've been looking into adding Google sign-in on my Polymer-based website using the google-signin component seen here: https://github.com/GoogleWebComponents/google-signin
When I attempt to sign in through Chrome in iOS, nothing happens. I'd assume this is a problem on my end, except that I also cannot sign into the Google I/O 2015 website (another Polymer-based website): https://events.google.com/io2015/
Is this a known problem or something that's just occurring on my end?

How to get FirebaseSimpleLogin Facebook login working in a fullscreen/homescreen iOS Web App

I have an angular app that painlessly integrates with Firebase's SimpleLogin service for Facebook on the web, however, it relies on opening a pop-up to do so.
Although iOS 7.0.3 seems to have fixed some severe bugs where alerts and popups were not functional in fullscreen web apps (i.e. after 'Add to Homescreen'-ing a website via Safari), the Facebook login fails after redirecting to Facebook and granting approval, landing back on a blank page (which requires an app restart to remove).
I suspect this has something to do with the was Facebook is redirecting back, but AFAIK I don't have control over that, nor would hacks like these fix this.
Are there any workaround that exist for this problem?
[Engineer at Firebase] Support for redirect-based OAuth has been added to the Firebase Simple Login Web Client as of v1.3.0, available from the Firebase CDN or via Bower using bower install firebase-simple-login.
This update enables the Firebase Simple Login client to detect iOS "standalone" applications and handle the redirect-based OAuth automatically in your application.

Parse Facebook Login App Must Ask For Basic Read Permission

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/

Resources