How to fix facebook page plugin when using incognito? The problem is when i'm trying to login on messages tab using incognito mode it is just redirecting to timeline tab and no console error appearing.
Related
In my Capacitor app I am able to open a new window to facilitate a login (with Auth0). Upon successful login it opens a Custom URL Scheme (which is registered in the Capacitor app). It does prompt to say Open In "my_app"? in iOS, but selecting Open does send me back to the app.
I would like to do this same thing, but without opening a new browser window, and without the prompt. Essentially without leaving the app.
My attempt at this was to set up my allowNavigation settings in capacitor.config.json, so that my auth provider is opened in-app. This worked, but after a successful login it just hangs. It doesn't prompt to open in the app or anything.
What sort of callback URL would be used for an in-app browser capacitor app? Would a universal/custom URL scheme be needed?
I realized that my problem here was the unexpected way to import the Capacitor Browser plugin. Once I imported like the Docs said, the in-app browser window worked great. I also removed these URLs from the allowNavigation setting (as in my case they are external and not controlled by us).
import { Plugins } from '#capacitor/core';
const { Browser } = Plugins;
...
await Browser.open({ url: 'http://capacitorjs.com/' });
I'm using "react-native-webview" and source URL (website) uses Google sign-in, after providing credentials it is showing me a completely blank screen rather than redirecting to the website.
I tried in google chrome for the same website it opens a new popup window and redirect back to the website after the sign-in success
How can I fix it in react native?
Experienced a similar problem.
So, aside from implementing onNavigationStateChange inside the WebView, check if your server is redirecting to a URL instead of rendering a page. In my case I had to switch from
source={{html: checkoutRes}}
to
source={{uri: checkoutRes}}
My project includes the firebase sign-in methods: Twitter, Facebook, Google and Github.
I am using firebase.auth().signInWithPopup() to handle authentication and callback. It works fine when run in the browser:
in mobile, this is different. I realize that it opens a new safari window, but it does not redirect to the app home screen. How can we do that?
this is the project in the firebase console for the Facebook sign-in
I believe this is a known issue for home screen apps in iOS. The window that is opened is sandboxed from the home screen app. The popup is unable to pass back the result to the parent home screen app. Instead, you should use signInWithRedirect in that mode. I believe that should work.
I downloaded OpenAM-13.0.0.war and deployed on tomcat. After accepting license and entering passwords it redirects to login screen. At this point I am clearing browser, deleting history, cache , everything, closing and opening tab in incognito mode. If I try to access openam here I am getting only Forgerock image and footer without login form and errors in console.
Please find screenshot in below links.
LOGS in browser console:
These logs I am getting in chrome browser console.
Screen without Login form:
This is what is coming on my screen.
I use the latest Facebook SDK in my iOS app.
It uses single sign on, so even after calling Facebook logout method, when user log in again, dialog window saying he is already logged in fine.
In other iOS applications there is a logout button on Safari web view, so user can simply log out from app.
My question is how I can implement such webView in my application?
I know that I can use FBDialog instead of Safari window to control logout process but I need to have possibility to logout exactly from Safari web view. May be the window with logout button is accessible only in the old versions of SDK?
I am also facing this problem,There is no default method to logout from facebook on safari when the app is under development,may be safari will show logout button when your app goes live on app store