Hi @Nikita ,
Thanks for reaching out.
As mentioned in the error itself, you are getting this error while running the application is due to as redirect URL you registered in the Azure portal while registering your application
is not matching with the redirect URL you configured in your application environment variables.
Hope this will help.
Please remember to "Accept Answer" if answer helped you.