google oauth CLIENT-ID for multiple site multitalency purpose
I'm working on project which based on multitalency concept where users
registered their domain info and we create for them. Each sites uses
google oauth for viewing google analytics report and for that they need
google oauth authorization in their admin pannel of each sites. Problem
I'm facing is that i registered one application on google api and it
generate a clinet-id plus javascript-origin and redirect-url also defined
at time of creating google-oauth project in google-api. I need to know is
their any possible way to use that client-id without define
javascript-origin or redirect-url, so google-oauth redirect url will be
defined at client side with javascript? I dont want to register each
domain and callback url in google api. Is their any possibility to use
global client-id even google has fixed twenty(20) site allowed on each
application.
I'm using google's javascript oauth script which requires CLIENT-ID and
API-KEY the code i have got from this google-analtyics reference
gadash.configKeys({
'apiKey': API_KEY,
'clientId': CLIENT_ID
});
No comments:
Post a Comment