Hello,
I am facing an issue with Google OAuth authentication in a production environment and would appreciate some assistance. Here is a summary of the problem and the steps I have taken so far:
Problem: I have implemented Google OAuth authentication for my web application running on an Ubuntu 22.04 server with Apache. The authentication works perfectly fine when running the application on my local machine, but it fails to work in the production environment.
Steps taken:
However, despite these efforts, the Google OAuth authentication continues to fail in the production environment. The authentication flow gets redirected to the Google login page, where I get the error: 'redirect_uri_mismatch'.
I would greatly appreciate any insights or guidance on how to resolve this issue and enable successful Google OAuth authentication in the production environment.
Thank you for your assistance.