If you get the same error, then you have the wrong URIs in " Valid OAuth redirect URIs " when registering my application with Facebook.
- Select the application in which you receive an error during registration
- After selecting the application, go to the PRODUCTS section "in this section, select Facebook Login , in this section select" Settings ", after selecting" OAuth client configuration "will appear in the form in which there is a valid OAuth redirect URIs text box that simply enter your local host URL [ http: // localhost : Port number / signature-facebook].
For example, if the localhost URL is “ http: // localhost: 8000 / Account / Login ” then when you enter “ Valid OAuth redirect URIs ” in the text box, enter “ http: // localhost: 8000 / signin-facebook " and click Save Changes
Facebook application registration

source share