Facebook login works on Desktop, but get stuck on redirect URL on mobile.
Hi Memberstack, I've recently added Facebook login to my site, and did ALL of the setting up via Facebook Developer site and Memberstack OAuth site.
The login seems to work fine og desktop, the Facebook login popup closes automatically. But on Mobile I'm stuck on a white screen. I can see the Memberstack custom redirect URI that I made and everything looks to be right.
What could be wrong here?
Comments
4 comments
Hi Nicklas,
Here are some potential causes and troubleshooting steps you can take to resolve this issue:
1. Check Redirect URI: Ensure that the redirect URI you set in the Facebook Developer settings matches exactly with what you have configured in Memberstack. Any discrepancies can lead to issues during the authentication process.
2. Mobile App Settings: If you're using a mobile app or a mobile web view, make sure that the Facebook app settings are configured to allow mobile redirects. Check the "Valid OAuth Redirect URIs" in your Facebook app settings to ensure they include the mobile version of your site (if applicable).
3. Browser Compatibility: Test the Facebook login on different mobile browsers to see if the issue persists across all of them. Sometimes, specific browsers may have compatibility issues with popups or redirects.
4. Console Errors: If possible, check the browser console for any error messages when attempting to log in on mobile. This can provide insights into what might be causing the white screen.
5. Facebook App Status: Ensure that your Facebook app is in "Live" mode and not in "Development" mode. If it's in development mode, only users with roles in the app can log in.
6. Test with Different Accounts: Try logging in with different Facebook accounts to see if the issue is account-specific or affects all users.
If you've tried the above steps and are still experiencing issues, please provide the link to your website or your Memberstack app ID.
Hi Chukwudi, thank you for your reply.
I just double checked my Memberstack Facebook OAuth setting match my Facebook Developers settings.
The odd thing is, it actually works, I see the members get created when "Signing In", but it gets stuck on a white pop-up screen with the redirect URI callback link.
Any idea why this is?
Thx for your help :D
Could you please send us a video demonstrating the issue so we can investigate further?
Absolutely, how do I upload videos?
Please sign in to leave a comment.