API or gcloud command to add authorized Javascript origin and redirect URI to OAuth2 client id

844 views
Skip to first unread message

Soeren Balko

unread,
Oct 7, 2018, 10:29:56 AM10/7/18
to Google Cloud Developers
I am looking for an API to add authorized Javascript origins and redirect URIs to an existing OAuth2 client id (Web application). So basically an API for the configuration settings in the GCP console under API & Services -> Credentials -> OAuth2 client ids. Alternatively, a gcloud command would be OK as well.

Does someone know of such an API or gcloud command? I have been looking around but was not able to find it.

Thanks heaps in advance for any helpful answers!

Soeren
Clipchamp Pty Ltd

Olu

unread,
Oct 8, 2018, 1:47:09 PM10/8/18
to Google Cloud Developers
There is no API available to update the Google Cloud Javascript Origin domains for now. Similar issues were reported on the issue tracker and on this Stackoverflow thread. There are some suggested workarounds, which you might find helpful. 

Reply all
Reply to author
Forward
0 new messages