Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with facebook login in mobile browser

Tags:

oauth

I am trying to login by Facebook using react-facebook-login. I logged successfully in the web browser but not in the mobile browser.

Error:

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

like image 354
birendra Avatar asked Jan 29 '26 10:01

birendra


1 Answers

Set in props: isMobile={false}

source: https://github.com/keppelen/react-facebook-login/issues/257 by: alen12345

try that it worked for me.

like image 60
bonny Avatar answered Jan 31 '26 13:01

bonny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!