google-apps

Trouble with Google Apps Custom Domain SSL

荒凉一梦 提交于 2019-11-27 11:10:19
问题 I'm currently inside the 30-day free trial for Google Apps for business (billing set up, so will start non-free trial soon). I'm attempting to set up SSL for a custom domain for a Google App Engine app, but am a bit of a noob at this stuff and the files I've accumulated aren't accepted by the Apps submission form. I went through the following process: openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key After filling in the cert. request information (with name www

Where can I get Google developer key

落爺英雄遲暮 提交于 2019-11-27 10:46:14
I am working on Google API like chat, contacts and so on... I am stuck on developer_key as mentioned in gdata doc. You can get this at https://code.google.com/apis/console : 'developer_key' => '' I have already: // OAuth2 Settings, you can get these keys at https://code.google.com/apis/console 'oauth2_client_id' => '', 'oauth2_client_secret' => '', 'oauth2_redirect_uri' => '' Where can I find developer key? I found some thing like this http://code.google.com/apis/youtube/dashboard/gwt/index.html But I understand this to be only for youtube. It's the API key as listed under 'API Access', the

Google Apps Marketplace SDK + Domain-wide OAuth 2 SSO

孤街醉人 提交于 2019-11-27 09:29:36
We've been working on an Google Apps-app meant to be installed by a domain administrator. We initially tried to list it via the (now deprecated) market listing, but all new submissions must now go through the Google Apps Marketplace SDK. We're having an issue with the new GAM SDK SSO however - despite having installed it on our domain internally, each user is prompted via the consent screen when sending them to the OAuth login url. The OAuth url is asking for the same permission scope as is registered in the GAM SDK configuration screen. The docs seem to be entirely conflicting on how to pull

URL to compose a message in Gmail (with full Gmail interface and specified to, bcc, subject, etc.)

别等时光非礼了梦想. 提交于 2019-11-27 09:11:48
问题 I found a post that provides an example for a link which opens just a compose message window. However, I would like it to open a window with the full Gmail interface but ready to compose a new message. Of course this works: https://mail.google.com/mail/u/0/#compose But, I would also like to add a subject, to, bcc, etc. I tried something like the following, but to no avail: https://mail.google.com/mail/?to=inbox@example.com&bcc=admin@example.com&subject=Hey#compose Any ideas? Thanks. 回答1: This

How to upload a file via POST (doPost) to a Google Script's Web App?

拟墨画扇 提交于 2019-11-27 06:31:44
问题 My question is exactly as this one: Upload a file to a Google Web Apps with doPost How to upload a file directly to a Google Script's Web App from another domain? I answered a workaround in that question to convert the file in a base64 string but the question remains. Is it possible to upload a file to Google Scripts or only strings? 回答1: Files cannot be uploaded directly by "doPost()" of GAS from HTML form on local PC. Because "multipart/form-data" may be not able to be used for "doPost()".

GMail REST API: Using Google Credentials Without Impersonate

試著忘記壹切 提交于 2019-11-27 06:16:33
问题 Is it possible to use Google Credentials for GMAIL REST API without using impersonation?? In many examples of GMAIL REST API i see is mandatory to use an impersonation account associated to a domain and Google APPS. I just want to use GMAIL REST API api server-to-server : f.e: GoogleCredential credential = new GoogleCredential.Builder().setTransport(httpTransport) .setJsonFactory(jsonFactory) .setServiceAccountId(serviceAccountUserEmail) **.setServiceAccountUser("myuser@mydomain.com)**

Error: invalid_client no application name

谁说我不能喝 提交于 2019-11-27 05:56:25
I am using Google Apps API for my application and trying to authorize it using OAuth2. I have created a project and an application within it using the Google API console. I am using the following URL for authorization: https://accounts.google.com/o/oauth2/auth&scope=https://www.googleapis.com/auth/admin.directory.user&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=(my application clientid) I get the following error, Error: invalid_client no application name Request Details I have verified the clientid and even the status of admin SDK. M14d3n That error is displayed in case

Getting a 403 - Forbidden for Google Service Account

一世执手 提交于 2019-11-27 05:22:26
I am trying to get an access token for Google Service Account. Following is my code - String SERVICE_ACCOUNT_EMAIL = "edited@developer.gserviceaccount.com"; List scope = new ArrayList(); scope.add("https://www.googleapis.com/auth/admin.directory.user"); String keyFile = "C:\\edited-privatekey.p12"; HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); JsonFactory JSON_FACTORY = new JacksonFactory(); GoogleCredential credential = new GoogleCredential.Builder() .setTransport(HTTP_TRANSPORT) .setJsonFactory(JSON_FACTORY) .setServiceAccountId(SERVICE_ACCOUNT_EMAIL) .setServiceAccountScopes(scope)

Threading in Google App Script

房东的猫 提交于 2019-11-27 04:43:26
问题 Is it possible to do threading in Google Apps Script? Currently I am setting up triggers programmatically to do threading. Is there a better way? 回答1: There is a great example from Bruce Mcphearson. His example Parallel Processing in Apps Script uses Map Reduce in exercise. He is utilizing triggers as well, but perhaps may provide some different perspective. 来源: https://stackoverflow.com/questions/18155538/threading-in-google-app-script

How can I avoid google mail server asking me to log in via browser?

◇◆丶佛笑我妖孽 提交于 2019-11-27 04:15:18
问题 I am trying to send emails from Django using an email configured by Google Apps, my configuration at the settings.py file looks something like this: EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'contact@mydomain.com' EMAIL_HOST_PASSWORD = 'password' EMAIL_PORT = 587 EMAIL_USE_TLS = True When I try to send an email using: from django.core.mail import send_mail send_mail("Happy new year", "We wish you the best for 3001", "contact@mydomain.com", ["someuser@gmail.com"]) I get the following