I manage an app which is available on a lot (>50) of different domains, and which uses Google OAuth 2.0 for authentication. I've seen in this question that it's possible to add several redirect URIs by separating them with a newline; but is there a way to do this programmatically, for instance with a CLI tool?
The closest thing I could find is gcloud auth, but it says nothing about adding redirect URIs.