Once again - Wildcards and subdomains in console API

3,248 views
Skip to first unread message

Tomas Katysovas

unread,
May 10, 2012, 4:30:48 PM5/10/12
to oauth...@googlegroups.com

When creating a new web application in Google for Google oAUTH2 to work, there is an input 'Authorized JavaScript Origins' where you have to enter your urls.

It works with domains and subdomains, if I enter it manually. However I need to enter a wildcard, but http://*.example.com doesnt work.

Is there a way to use a wildcard and make subdomains work for API keys? Thanks

Marius Scurtescu

unread,
May 10, 2012, 5:32:56 PM5/10/12
to oauth...@googlegroups.com
Hi Tomas,

Wild cards are not supported for origin registration (nor for redirect URIs).

We will track this as a feature request, but I cannot promise anything.

Marius

Anuj Gakhar

unread,
Jan 30, 2013, 12:53:32 PM1/30/13
to oauth...@googlegroups.com
What about Javascript origins? Is wildcard allowed in those ?
Reply all
Reply to author
Forward
0 new messages