I am using the Google API to allow users to upload videos to their YouTube channel using my web app.
While working on the app and testing it on my local machine, I have been using redirect URIs like this one :
https://localhost:5001/Youtube?handler=authorize.
The thing is, when the app gets deployed, the redirect URIs should not, of course, contain localhost:5001 but another host name. Without changing the URIs in the Google Console, I get the
"redirect_uri_mistmatch" error.
Is there any way I can add a redirect URI to the Google Console that would make my app work in both situations?
Thanks a lot for your help!