Go to your developer console, go to your app settings, ensure the OAuth Redirect URL is what you want it to be:
Ensure the path in the console matches EXACTLY to what you’re using the the auth URL