Redirect URI mismatch

Whenever I run the sample app with the local server running at localhost:8000. I get this error
{“error”:“redirect_uri_mismatch”,“error_description”:“The redirect URI provided is missing or does not match”,“error_uri”:“http://tools.ietf.org/html/rfc6749#section-3.1.2”}

How can I solve this?

@fatherofall, this is happening because you have entered a different redirect uri in your app settings and you are trying to make request using different redirect uri. You can edit the app settings from app details page.

//