google-apps-marketplace

Token error in Google Apps Marketplace application

爷,独闯天下 提交于 2019-12-22 01:31:34
问题 We have a Google Apps Marketplace app which is deployed on App Engine, and uses the gdata APIs and as of a 3 days ago (20 of June) we started getting this error in the logs: Unauthorized - Server responded with: 401, <HTML> <HEAD> <TITLE>Token invalid - Target is disabled.</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Token invalid - Target is disabled.</H1> <H2>Error 401</H2> </BODY> </HTML> This is the piece of code that raises the error: two_legged_oauth_token = gdata.gauth

“401 Unauthorized” when using UpgradableApp API

我的未来我决定 提交于 2019-12-22 00:03:22
问题 We're working on our migration tool to bring existing GAMv1 users over to GAMv2, and we're getting a 401 Unauthorized, reporting that our consumer key is invalid. We’re using Google’s APIClient ruby library, found here: https://github.com/google/google-api-ruby-client/ I’m pretty certain that we’re forwarding the same set of credentials identified in https://developers.google.com/apps-marketplace/v1migratev2, and that we’re specifying two legged OAuth 1.0 to the API. The code we’re using is

Determine if a google user's domain has my marketplace app installed

故事扮演 提交于 2019-12-21 12:31:11
问题 When a user logs in, I want to check if their domain has my Marketplace app installed. It looks like this should in theory be possible with the Marketplace License API endpoints. However, whenever I try to use the "Try it now" feature for the Customer License, User License or License Notification endpoints, I always get a 403 Forbidden with the message "Not authorized to access the application ID". For example, if I try to query the LicenseNotification endpoint, I do the following: Click on

Google Apps Marketplace - Adding scopes via Incremental authorisation

荒凉一梦 提交于 2019-12-20 06:38:25
问题 We have an existing web app which uses Google's OAuth 2.0 APIs for Admin Directory, Drive, etc for administrative tasks like backup and audit. Currently we let our customers install backup and audit independently as 'modules' and each have separate client_id s and separate OAuth scopes (i.e. Admin directory for one, Drive for another). We want to bring our app to the Google Apps Marketplace, and take advantage of Google Sign In (OpenID Connect), use service accounts with domain-wide

Gmail contextual gadget

删除回忆录丶 提交于 2019-12-18 11:13:21
问题 I guess question one is - is it actually possible to create a contextual gadget for gmail right now? I have spent the last 2 days solid reading the (very out of date) documentation backwards and forwards, and every forum post I could find on the topic. I have tried everything I and see nothing, not even a hint of an error message that might point me in the right direction. These are the steps I have been following, starting at the start, and going step by step when logged into my google apps

Google Apps Marketplace CustomerLicense returns UNLICENSED even after installation

谁说我不能喝 提交于 2019-12-14 03:13:23
问题 This ask is related to the release of the "non-admin can install an app on a domain" feature announced here: http://googleforwork.blogspot.com/2014/09/google-apps-marketplace-to.html I'm seeing that when a non-admin installs our app onto their domain (through the use of a whitelist), the CustomerLicense returned from the "https://www.googleapis.com/appsmarket/v2/customerLicense/" endpoint is still UNLICENSED. When an admin installs the app, the CustomerLicense is set correctly to ACTIVE.

Apps Marketplace SDK: Test Install Flow button missing

限于喜欢 提交于 2019-12-13 17:16:20
问题 Am creating a new project to migrate an oauth1 app to oauth2. Have enabled (and configured) the Apps Marketplace SDK. I am not seeing a "Test Install Flow" button in the settings screen. I have not found any clues, after much searching, regarding prerequisites for making the button appear in the interface. Can anyone provide pointers about what to check for / what prerequisites I may have missed? Update: I added an additional scope (beside userinfo.profile and userinfo.email) and the button

Developing on localhost for Google Apps Marketplace

房东的猫 提交于 2019-12-12 23:22:58
问题 My typical workflow is that I develop on localhost, but with Google Apps Marketplace this hasn't been possible. OpenID works fine, but access to Data APIs via Oauth results in errors. Token invalid - Invalid token: ACL not found for domain: 358xxxxxxxxx and consumer: 736xxxxxxxxx Currently I have been using the following workflow, but it is very tiresome. local develop » local push to github » remote pull from github » remote test » repeat Is there a way to develop locally or another

Error while publishing to chrome web store

烈酒焚心 提交于 2019-12-12 12:38:50
问题 I get an error while publishing my demo project (a google apps marketplace application) in chrome web store to my own domain. I get the below error. "API Console project with the id specified in the manifest's api_console_project_id field, does not have Google Apps Marketplace SDK enabled." I have enabled Google Apps Marketplace SDK and Google Apps Marketplace API as well for the particular project. Also, I have not gotten my application reviewed by google. Do I have to get this reviewed even

Google Apps Marketplace - changing scopes

二次信任 提交于 2019-12-12 05:48:07
问题 We have an existing app that's registered in the Google Apps Marketplace. We now need to retire one scope that it uses and add another. We are trying to decide whether we: delete and add in one go; or add the new one and then retire the other one at a later date. I appreciate that adding a scope will require an admin to grant access to the App again, but can anybody confirm the impact of removing a scope? Does that also cause the admin to grant access again? In short: does any change require