-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
I'm having the exact same issue as #202. Copy-pasta:
This is only on Android. iOS works fine.
It seems the issue is related to the default callback: http://localhost/facebook
. Facebook doesn't allow http callbacks anymore, so we're kind of stuck here. I tried all possible combinations of settings, even tried https://localhost/facebook
just for the funz, but that didn't work either.
I'm investigating and can probably send a PR fix, but any pointers would be very helpful. Thanks!
Activity
maxcodes commentedon Oct 15, 2018
So, I managed to fix this by changing one line in the
OAuthManagerModule.java
. Instead of usinghttp://localhost/facebook
as a callback, I changed it tohttps://localhost/facebook
both in the Facebook Valid OAuth Redirect URIs and here:Happy to send a PR if this is the recommended way of fixing it 🙂
maxcodes commentedon Oct 15, 2018
So, the above snippet works if you're only working with facebook, but obviously breaks the other providers. The final snippet looks like this:
francoro commentedon Mar 18, 2019
@maxcodes Hi max, I have question. This code you put above work also when the user is using LTE not wifi? My question is because use localhost , is okay that for LTE ?
Thanks
maxcodes commentedon Apr 16, 2019
Hey @francoro, I don't remember that being a problem, since localhost always refers to the local device. Cheers!