Google Oauth 2.0 redirect_uri_mismatch for dynamic URIs

Hello there!

I’ve been using the Google plugin to authenticate users in my app through Google oauth 2.0.

On Google, I configured the main redirect_uri as <my_domain>/api/1.1/oauth_redirect and it works whenever my users try to log in from the homepage.

However, every time that a user goes to a specific generated page (a product listing page) they receive a redirect_uri_mismatch error.

Is there any solution or workaround for it?