google-apps

Passing authentication from one Google Apps Script webapp to another Google Apps Script webapp

為{幸葍}努か 提交于 2019-12-05 12:46:54
I have two Google Apps Scripts in my Google Apps account. Both have been published as webapps with the following settings. Script A: Execute as me Who has access to the web app:Anyone within XXXXXXX.com Script B: Execute as the user accessing the app Who has access to the web app:Anyone within XXXXXXX.com I want to have Script B use UrlFetchApp to execute Script A. How do I authenticate Script B to Script A? Note: Script A is being used to get\write data from\to a spreadsheet that only I have access. Since my Google Apps domain administrator does not allow sharing outside the domain, I can not

Single Sign-On with Google Apps + App Engine

江枫思渺然 提交于 2019-12-05 12:25:29
问题 Is it possible to achieve SSO with the built-in OpenId on App Engine? I've been trying to integrate a Marketplace app and get the user logged in when coming from Google Apps (the admin panel or universal navigation). I failed miserably, then now I found this: "The one exception to this is applications which do hybrid OpenID/OAuth — whitelisting does not currently work with this approach." (from here) I assume that I have to implement OpenId using a library instead of using the built-in one to

Sharing a Google Drive file without sending notification email

戏子无情 提交于 2019-12-05 11:45:30
I am using Google Drive Java API. I need to copy a file from one Google domain to another, so my approach is the following: authenticate with source domain service account share file with user in destination domain authenticate with destination domain service account and impersonate the user copy the original file from origin domain to destination domain delete the share permission from the original file Everything works as expected except that I don't want the destination owner to receive the Google Drive email notifying him about the shared file. When the file is shared via the Web GUI one

Not able to remove Google App engine Service from the admin console

旧时模样 提交于 2019-12-05 08:27:52
How to delete Google app engine services from admin console which was added through developer email login. After paid google hosting now I am not able to login with developer email account Its now only allow with the email account which I open for this domain email account. I set all the permission (Super Admin, Groups Admin, User Management Admin, Help Desk Admin, Services Admin) but still when I try to remove Google app engine service from admin console it give this error, You do not have the permissions necessary to uninstall this application. I also try to create one more user tried to

Google Apps Admin API: need to specify account user for service account?

Deadly 提交于 2019-12-05 06:33:36
问题 I'm creating a Marketplace App that should be able to read all the users of a domain. I request access to these scopes: https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/admin.directory.user.readonly Then when the 'Universal Navigation Extension' is accessed this happens: Credential credential = new GoogleCredential.Builder() .setTransport(httpTransport) .setJsonFactory(jsonFactory) .setServiceAccountId(SERVICE_MAIL

How do I access other users calendars with google calendar v3?

拟墨画扇 提交于 2019-12-05 06:11:27
I am using the Google Calendar (v3) API, with google apps and am wanting to use a single oauth2 credential to determine what users are free/busy at any given point. I am wanting to use this: https://developers.google.com/google-apps/calendar/v3/reference/freebusy/query But to use this I need to get all the calendar ids for all the users. I cannot do this as the java client for the google calendar can only retrieve calendars of the user who owns the credential. Note: I have access to all the users through the provisioning api. Any help would be much appreciated as I am totally blocked by this.

Popup authorization code DocumentApp - Google Apps script

a 夏天 提交于 2019-12-05 05:06:30
问题 We have created a Google apps script for mail-merge purposes. We open a Google document and onOpen a script will run for selecting a spreadsheet with addresses and after selecting a spreadsheet we need to authorize the code. We can authorize within the script editor, but this document will be copied for every mail-merge type and therefor the end-user needs to authorize. Well here's where the problem occurs. The end-user will only get the message. "Error encountered: Authorization is required

Can not post Google Apps Marketplace Listing Review Request for API Project

家住魔仙堡 提交于 2019-12-05 04:51:26
My requirement is to enable OAuth 2.0 for an existing OAuth 1.0 application in Google Apps Marketplace . I have created new Google project in the console and created a listing for it. And now I need to submit Google Apps Marketplace Listing Review Request . As it is an API project that uses only Google Apps Marketplace SDK so I can not make a review request for my app listing. As I don't have any APIs listed in the required section the request submission failed. The app and listing is tested installing to a test domain owned by the owner(creator) of the app and project. For app publishing used

can a custom domain be pointed a specific google app engine version domain?

陌路散爱 提交于 2019-12-05 01:54:36
an App Engine app can be deployed with a specific version ID http://code.google.com/appengine/docs/python/config/appconfig.html such that if the original app has this default domain: myapp.appspot.com and you can point your own custom domain to this using Google Apps www.myapp.com --> (CNAME) myapp.appspot.com BUT you can also upload a version identifier with your app and access it like this: newversion.myapp.appspot.com What I am wondering is if it is possible to hook up a custom domain to this non-default version of the app? v2.myapp.com --> newversion.myapp.appspot.com ?? I dont think this

Google Apps OpenID url

旧时模样 提交于 2019-12-05 01:11:40
Problem: My organisation, ExampleFooBar, uses Google Apps. On our website I want to enable OpenID Single Sign-In (like StackOverflow), but only allow @examplefoobar.com email addresses to sign in. What OpenID url should I use for a Google Apps email address? As per comments on Include OpenId in drupal , the domain http://www.google.com/profiles/<username> can be used for normal Google accounts, but this doesn't work for Google Apps accounts. Google also provides the url https://www.google.com/accounts/o8/id but using that would allow any google user who found our website's login page to sign