What is the callback URL you configured in the Azure Portal, under application registration? You need to pass the same URL from your client. Verify the settings in the Azure App Registration. If this is correct, make sure your application sending the same request url.
Hope this helps