gsuite

Creating events using the Google Calendar API and Service Account

偶尔善良 提交于 2020-08-10 22:50:04
问题 So I have setup my service account with domain wide delegation as described in this post Perform G Suite Domain-Wide Delegation of Authorit. In G Suite Admin Console I have authorized the service account to use the OAuth 2.0 scope: https://www.googleapis.com/auth/calendar. Every time I try to create an event I end up with this error GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "calendar", "message" : "Service accounts cannot invite attendees without

Creating events using the Google Calendar API and Service Account

こ雲淡風輕ζ 提交于 2020-08-10 22:48:52
问题 So I have setup my service account with domain wide delegation as described in this post Perform G Suite Domain-Wide Delegation of Authorit. In G Suite Admin Console I have authorized the service account to use the OAuth 2.0 scope: https://www.googleapis.com/auth/calendar. Every time I try to create an event I end up with this error GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "calendar", "message" : "Service accounts cannot invite attendees without

Google API Service Account. Can only see service accounts drive even with Domain Wide Delegation Access

孤街浪徒 提交于 2020-07-10 03:15:39
问题 I'm currently using a Google Service Account that has domain wide delegation enabled ( I followed this link https://developers.google.com/identity/protocols/oauth2/service-account, and this link https://developers.google.com/admin-sdk/reports/v1/guides/delegation), and has "https://www.googleapis.com/auth/drive scope enabled. I have downloaded the json credentials for the service account and placed them in the same directory as my python script. The problem is when I impersonate another user

Gmail add-on connecting to non-Google Services without oAuth

自作多情 提交于 2020-07-09 11:50:12
问题 Is it possible to authenticate to third-party service in G-Suite (Gmail) Add-ons, but without oAuth . The service I want to authenticate works on REST API and has no oAuth support. The best for me would be to open a new window (as with oAuth), login there and return token to the Gmail add-on frame. If that won't be possible, I'd go with giving a username and password in dedicated Card in add-on, but I'm not sure it that solution will pass Google verification when publishing in Marketplace. I

Gmail add-on connecting to non-Google Services without oAuth

冷暖自知 提交于 2020-07-09 11:47:41
问题 Is it possible to authenticate to third-party service in G-Suite (Gmail) Add-ons, but without oAuth . The service I want to authenticate works on REST API and has no oAuth support. The best for me would be to open a new window (as with oAuth), login there and return token to the Gmail add-on frame. If that won't be possible, I'd go with giving a username and password in dedicated Card in add-on, but I'm not sure it that solution will pass Google verification when publishing in Marketplace. I

G Suite Add-on refusing to connect to drive? How to solve “drive.google.com refused to connect” error?

走远了吗. 提交于 2020-06-29 05:47:06
问题 I am trying to use a G Suite Add-on called YAMM that I regularly use. Recently, I have been encountering an error "drive.google.com refused to connect" often. When I contacted the developer, they say it is Google's problem. How do I get it fixed? 回答1: This happens if you have signed in with multiple gmail accounts in your web browser. To solve this problem as an end user, open an incognito window, sign in with your gmail account used to install the add-on and use the addon - https:/

G Suite Add-on refusing to connect to drive? How to solve “drive.google.com refused to connect” error?

橙三吉。 提交于 2020-06-29 05:46:10
问题 I am trying to use a G Suite Add-on called YAMM that I regularly use. Recently, I have been encountering an error "drive.google.com refused to connect" often. When I contacted the developer, they say it is Google's problem. How do I get it fixed? 回答1: This happens if you have signed in with multiple gmail accounts in your web browser. To solve this problem as an end user, open an incognito window, sign in with your gmail account used to install the add-on and use the addon - https:/

Google API: How to increase access token expiration date?

蓝咒 提交于 2020-04-30 16:34:31
问题 Google API expiration date is 1 hour, the problem is that I'm using the API in order allow users to use admin SDK features (List groups, add members to a group etc.) No one can do any of that in one hour, that would require users to login to their accounts multiple times per day to manage their groups. A 1 hour expiration date is good if you just want to use Google to authenticate users. How to increase that or is there any work around? Am I missing something? 回答1: Due to security reasons,

Account restricted to google Classroom API

牧云@^-^@ 提交于 2020-04-30 05:17:05
问题 My collague and I have a C# WPF project, which manage courses in Google Classroom. We create the project in Google API platform. We are the owner of the project. Both have OAuth 2.0 Client IDs. (but it doesn't matter) I allow all of Classroom API's scope. I am the domain admin of our Gsuite for Education. Google Classroom API is allowed in the domain. He can login and use the program, there is not any error, every function is ok. I can't, because i got an error 400, invalid_request Account