google-apps

Consent screen appearing after Google Apps installation using oauth2 while it should not

徘徊边缘 提交于 2019-12-08 05:59:50
问题 We have recently migrated our app to oauth2 in the Google Apps Marketplace. While the installation process goes very well, the first time the admin launch the app, a consent screen appears for the scopes that have already been accepted at the domaine level. The call to oauth2 at the authentication is the following: https://accounts.google.com/o/oauth2/auth?response_type=code &client_id=.... &redirect_uri=... &scope=email%20profile &state=.... &access_type=online &approval_prompt=auto &include

Getting domain installs for my Google Docs Add-on

末鹿安然 提交于 2019-12-08 05:57:29
问题 We have a Google-docs Add-on (built on Google Apps Script) for which we enabled the Google Apps Marketplace SDK - so that Google Apps Administrators could install our add-on at the domain level. We have noticed a few domains have now installed our add-on - but I can't seem to find a way to get information on which domains have installed us. Is it even possible? I have tried the Marketplace license API https://developers.google.com/apps-marketplace/v2/reference/ but it fails with a 403 error -

Google Apps (for business) OpenID login for ASP.NET intranet site

别来无恙 提交于 2019-12-08 04:32:35
问题 My company uses Google Apps for our e-mail/business app provider. Every employee has an account here. I'm looking into creating an asp.net web app that would allow users to sign-in (using their Google Apps account) and then accomplish certain things (first goal: keep a current record of the employee's skillset). Before I get started, I wanted to find out if an OpenID login system using Google Apps is any more difficult than doing it the standard way, or if I need to be aware of any pitfalls.

Using Google Apps Email in CodeIgniter

旧街凉风 提交于 2019-12-08 03:36:22
问题 How do I use Google Apps' email services to send mail using the CodeIgniter email class? The email class seems to prefer SMTP, and I was going through the clients Google Apps account. I can't find any place within the Google Apps settings for SMTP. Does anyone know of a solution for this issue? 回答1: Right you don't find it because CodeIgniter uses the "mail" PHP function. For some reasons only the most drunken PHP core developer knows about - this function do not support SMTP and worse even

How to get all users in one organization unit using Google Directory API

℡╲_俬逩灬. 提交于 2019-12-08 03:11:47
问题 In the new released Google Directory API, I cannot find a method to get all users in a specific organization unit of Google Apps. Is it possible? And how? Based on the Google Directory API document, programmers can get all the organization units, or all the users for the whole domain, but there is no description on how to get users of one organization unit. This feature is crucial important to construct the organizations/users hierarchical tree. Please help, thanks. 回答1: There is no way to

Google Admin SDK error Resource Not Found: domain when trying to list existing users

自作多情 提交于 2019-12-08 02:52:00
问题 I am trying to write a simple script to get a list of my Google Apps users using Google's python API. So far it looks like this (based on a Google example): !/usr/bin/python import httplib2 from apiclient import errors from apiclient.discovery import build from oauth2client.client import OAuth2WebServerFlow from oauth2client.client import SignedJwtAssertionCredentials client_email = 'service_account_email@developer.gserviceaccount.com' with open("Python GAPS-98dfb88b4c9f.p12") as f: private

Importing data from pipedrive API in Google sheets. How to copy the data into the sheet in the correct columns and rows

荒凉一梦 提交于 2019-12-08 02:07:56
问题 I am trying to import all Pipedrive deals and writing the information I need in Google sheets. What I am already able to do: Access the feed and parse the data to a variable. And print this variable into 1 cell. Of course this isn't workable yet. The code is somewhat scavenged (building while I'm learning) // Standard functions to call the spreadsheet sheet and activesheet function alldeals() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheets = ss.getSheets(); var sheet = ss

GMAIL APP -: Google SMTP Error: 454 4.7.0 Too many login attempts, please try again later

前提是你 提交于 2019-12-07 19:26:19
问题 While it was possible to use Gmail/Google Apps as an SMTP server for scripted use or in any other Apps. I started getting error messages: SMTP Error: 454 4.7.0 Too many login attempts, please try again later. Sometimes you get, sometimes you don't get such error. 回答1: The issue is because of Google Apps Security. You Can't use same E-mail ID with more than 2 Apps. as Gmail needs to sync it, and it is Obvious to receive such error. Even setting SPF/TXT/DKIM record is not enough for it. So try

App Engine naked domain redirect + SSL

六眼飞鱼酱① 提交于 2019-12-07 18:11:37
问题 We are trying to add naked domain redirect to our custom domain. I followed the instructions on https:/ /support.google.com/a/answer/2518373?hl=en but when I change the domain to redirect from: http:/ /app-id=,domain=.example.io (which was auto filled) to http://www.example.io, I get an error saying: """ Server error We are unable to process your request at this time, please try again later. """ I'm not able to dig any deeper into the error or what is happening. My A records on the DNS

How to transfer File Ownership for a Document which admin doesn't own?

时间秒杀一切 提交于 2019-12-07 18:03:36
问题 Use Case As admin service account, transfer Document Ownership using the Google Docs API, similar to the built in cPanel "Advanced Tools" -> "Document ownership transfer" Constraints APIs are being invoked in context of a Google Apps admin service account rather than the end-user account since APIs are being invoked from Google Apps Script in Sites page Authorization is OAuth 1.0 since this is what Apps Script supports What works: Transferring ownership of the admin service account's own