I set up a Facebook connecе to my application following the http://github.com/holden/authlogic_openid_selector_example. But I have a strange problem with Facebook Connect on Firefox and Google Chrome browsers, it just will not allow me to authenticate. But on Safari it works perfectly.
Is your development platform accessible to Facebook? In my experience, Chrome and Firefox did not work with that example on my local machine behind a router, but Safari did (just like your experience). However it all worked when the setup was on an internet-accessible box.
Related
We have a web form which we send out via email links, having particular issue with embedded safari web browser. I cannot share the link example at this time.
The error occurs when you open the link in the Gmail app on iOS and select the Safari option. This opens the Safari Web Browser embedded in Gmail. When submitting the web form you get a "400 Bad Request". If you copy the link, then go out of Gmail, open Safari web browser and paste the link, then submission of form works fine.
I would love to be able to debug that in developer tools.
Does anyone know how to do this? I know if you have a Mac (which I don't) then you can connect your Safari web browser to developer tools, does this work for the Gmail app embedded safari browser?
In the end managed to debug by downloading and installing Proxyman iPhone app, which is able to capture HTTPS requests from all apps on the device. It works by installing a special VPN from the device to the app, and you have to generate and install a CA certificate. Proxyman is able to export HTTPS requests in cURL format which you can then use for debugging from a computer.
https://proxyman.io/
If you have a local development environment and network, connect iPhone to computer on local area network, and then you can use phone to trigger requests in development environment, but that can be tricky with HTTPS. So can use ngrok to route requests from internet to local environment.
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).
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?
I'd like to display the facebook profile image when a user had logged in via facebook. The images from the domain graph.facebook.com are not shown in the ios version of my app. It works fine in browser and android as well.
I added the access rules (I'm using meteor)
App.accessRule("*");
App.accessRule("graph.facebook.com");
but it didn't help.
In my case the problem was caused because I was referencing the Facebook images inside my app with an 'http' link when my server site was running on a secure site 'https'. iOS had blocked all links to insecure sites inside a secure site.
The solution was change the fb links to https:
https://graph.facebook.com/10154217231etc....
Actually FB serves his resources in both http and https sites.
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.