I’ve had the same issue. It seems now the webpage for Facebook login will always redirect to the Facebook app, and this causes the error message you’re seeing. Seems like there needs to be a fix from auth0?
We are having the same issue. If you select the three dots menu in the upper right next to the SHARE link and select Open in Chrome, auth will continue, but this is obviously not an option that works for users.
This happens when the default action for opening facebook urls is to open them with the facebook app. If the default action is to use a browser everything works fine, or if a prompt appears asking what app to use a browser needs to be selected.
Does anyone know how to force that prompt? It would be even better if there’s a way to bypass that and stay on the same WebView.
Thank you so much for the info guys. @Auth0 people: is there any viable solution for this? I don’t see how to force the facebook app on the users phone to open in a web browser. Please advise.
It was mentioned in this thread that this was due to an Android configuration with the Facebook app that causes opening links in the app rather than in the browser. Having no control over the Facebook app or the Android configuration users would need to configure their devices to open links in the browser rather than the app to avoid experiencing this issue.
At this time though it appears the configuration with Facebook app has since been updated and should work correctly .
I’m trying to login with Facebook without Locks because I don’t want to show the Auth0 Login UI. But I’m having two problems. The first one is that the provider start method receives an Activity so I can never get the onActivityResult in my LoginFragment.
The second one when I try to login with Facebook I got this message: “com.auth0.android.authentication.AuthenticationException: An error occurred when trying to authenticate with the server.”
Can you help me with my code? Also I want to remove the ugly thing that i have to do in the onActivityResult of my Activity
Facebook login on Android works for me.
I had to update auth0-js recently for unrelated reasons, maybe that is why it’s working?
Try to update your auth0-js and see.
My version “auth0-js”: “^9.11.3”
Login using new auth0.WebAuth(options).authorize()