gsuite

“Integrate with Google” button suddenly disappeared (receiving 404)

喜夏-厌秋 提交于 2019-12-31 17:10:24
问题 I have Google-Apps-Marketplace app in which I'm using "Integrate with Google" button to start the google OAuth2 process. For some unknown reason the button disappear today, and I'm receiving the error 404 - https://apis.google.com/marketplace/button Does anybody know if it's a temporary issue in google API, or something had changed and I need to update my app? I saw similar questions regarding the disappearance of the button from 4 years ago, however they refer there to access problems (error

How to enable “Cloud Service” in G Suite?

时光总嘲笑我的痴心妄想 提交于 2019-12-24 03:37:30
问题 If the "Cloud Service" is turned off on a G Suite domain, this disables the ability for all users in the G Suite domain from creating Projects in Google Cloud Platform. If you are in this situation and you try to create a project in GCP from the Cloud Console, using the gcloud tool, or via the API directly, you will receive the following error: APPHOSTING_ADMIN Cloud Service disabled by admin. Please contact admin to restore service. com.google.apps.framework.request.StatusException: generic:

Google G-Suite API Console not showing Enable G Suite Domain-wide Delegation

雨燕双飞 提交于 2019-12-19 04:50:30
问题 I'm working with a client to setup service account credentials, for the purpose of reading G-Suite Directory information over API. I've done this a dozen times before with no issues, and now I'm having a problem with a setting not showing up for the client. Below is an image that shows what I would see normally. The area circled in read is where the ability to enable Domain-Wide Delegation exists. However, the client does now see that section. Instead they see this button. And clicking the

How to access Team Drive using service account with Google Drive .NET API v3

我们两清 提交于 2019-12-17 19:46:10
问题 Does anyone know which configurations should be done to grant Google service account an access to a Team Drive which is already created? The idea is to use a service account in a .NET backend application for uploading/downloading files to/from Team Drive which is shared among company employees. For example, company has its company.com domain and provides name.surname@company.com user accounts at Google. Also there is a Team Drive for the employees. One of those accounts (not admin) was used

How to request and send payments via Gmail API and Google Apps Script

做~自己de王妃 提交于 2019-12-13 01:53:59
问题 I want to request and send payments via Gmail API and Google Apps Script. Here is documentation for using Google Apps Script with the Gmail API. Here is information on how to manually request and send payments using Gmail. Here is information for developers on how to use Google Pay. So, based on that, there seems like there should be a way to use Google Apps Script to tap into the Gmail API to send and receive payments. But I can't find any documentation how to do that. So how can I

Forcing user to sign in with their Google Organization (G Suite) account in mvc c#

落花浮王杯 提交于 2019-12-13 00:47:32
问题 I have implemented google authentication in my mvc site. Here is my sample code- AuthConfig.cs public static class AuthConfig { private static string GoogleClientId = ConfigurationManager.AppSettings["GoogleClientId"]; private static string GoogleClientSecret = ConfigurationManager.AppSettings["GoogleClientSecret"]; public static void RegisterAuth() { GoogleOAuth2Client clientGoog = new GoogleOAuth2Client(GoogleClientId, GoogleClientSecret); IDictionary<string, string> extraData = new

Retrieving a user's phone number from GSuite oauth?

北战南征 提交于 2019-12-12 04:55:26
问题 We're using our staff users on GSuite to authenticate with our management system which we are restricting to our hosted domain. We'd like to be able to grab our staff's phone number from their company Google account so we don't have to build separate CRUD to allow us to manage their phone number. Users are authenticated with the 'email' & 'profile' scopes. Is it possible to retrieve the user's phone number in addition to their name, email, image? 回答1: See all the Google scopes. There is a

Why is my “limit exceeded” for some of my Google Apps scripts that are using time-based triggers?

自闭症网瘾萝莉.ら 提交于 2019-12-11 06:37:23
问题 I seem to be running up against some kind of unspecified limit with my G Suite account while using Google Apps scripts, but I'm not sure what the limit is and/or how I should adjust my workflow. I have a G Suite Business account. I have about 45 relatively simple projects in my "G Suite Developer Hub". Each project has just one little script with a single function, set with a time-based trigger to run daily between 2:00 am and 3:00 am. Each project exists just to move files from one folder to

Reset the login cookie by API

安稳与你 提交于 2019-12-11 05:46:01
问题 I wonder if there is any way to reset login cookies through the API. I know there is how to do this through the settings in admin. 回答1: There's no direct API for resetting the login cookie. There's a workaround idea from this SO post. For more info, you can also check this Google thread. 回答2: According to the G Suite forum, the only way to to do this is through a force password reset using Dito GAM on the user side. Related question from SE: Is it possible to reset sign-in cookies for all

How can I programatically reset the sign in cookies for a user in G Suite?

流过昼夜 提交于 2019-12-11 05:31:38
问题 It's possible to do it manually in the user management UI but I can't find anything in the user management API to do it programatically. https://developers.google.com/admin-sdk/directory/v1/reference/users 回答1: I found a workaround. You can suspend a user and then immediately restore their account. This has the side effect of invalidating their cookies. 来源: https://stackoverflow.com/questions/44832631/how-can-i-programatically-reset-the-sign-in-cookies-for-a-user-in-g-suite