invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application."
Can you please make sure you are using an indentical URL (including port number) for both the app configuration on the Microsoft console and the App.CallbackURL property of the component?
Also the App.CallbackPort should match the port number from the URL.
If the problem persists, please provide the exact URL you are using so I can further investigate this.