Redirect URI with wildcard subdomain *.domainname.tld

430 views
Skip to first unread message

Markus Welter

unread,
Dec 12, 2011, 6:44:16 AM12/12/11
to google-ca...@googlegroups.com
Hi,

I'm creating a web application as a multi-tenant system. Each user has it's own subdomain. Eg.:

usera.domainname.com, userx.domainname.com, ...

Now each user should be able to connect to his google calendar. In the Google API Console, API Access I can add allowed Redirect URIs. Unfortunatly it is not possible to add a wildard domain like *.domainname.com.

Is there a workaround for this? Is it planned to add wildcard domain in this setting? At the moment I'm adding each subdomain manually there.

Thanks and regards,

Markus

Alain Vongsouvanh

unread,
Dec 13, 2011, 12:02:49 PM12/13/11
to google-ca...@googlegroups.com
Hello,

I am not aware of any coming functionality to do such a thing. Is there any particular reason your app would need to redirect the user to its subdomain? Why not having the redirect handler in one static page that would store the user in the "state" query parameter and redirect the user accordingly when the OAuth dance is complete.

Best,
Alain


--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/0lMrw1hJZz8J.
To post to this group, send email to google-ca...@googlegroups.com.
To unsubscribe from this group, send email to google-calendar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-calendar-api?hl=en.



--
Alain Vongsouvanh | Developer Programs Engineer
Reply all
Reply to author
Forward
0 new messages