1
votes

I am using laravel socialite. But in redirect message, I found Facebook login message: “URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs.” I have set App Domains and redirect_uri. Settings Pics Are Attached

Response i get from redirect url

The actual message on redirect from facebook

redirect uri

my App Domains settings

1

1 Answers

0
votes

The redirect uri should be the uri you want to go to after authentication. Let's say you want to go to https://www.example.net/dashboard , you should have it listed in your valid OAuth redirect URIs in your app setting. So while performing your OAuth operation, your url should have :

...oauth%3Fredirect_uri%3Dhttps%253A%252F%252Fwww.example.net%2Fdashboard...