The redirect_uri parameter may refer to the OAuth out-of-band (OOB) flow that has been deprecated and is no longer supported. This documentation explains how the redirect_uri determines how Google’s authorization server sends a response to your app. You can also refer to the migration guide for instructions on updating your integration.
Also, I found this post that has the same concern as yours, which might be helpful to you.