Can not post Google Apps Marketplace Listing Review Request for API Project

你离开我真会死。 提交于 2019-12-22 05:05:05

问题


My requirement is to enable OAuth 2.0 for an existing OAuth 1.0 application in Google Apps Marketplace. I have created new Google project in the console and created a listing for it. And now I need to submit Google Apps Marketplace Listing Review Request. As it is an API project that uses only Google Apps Marketplace SDK so I can not make a review request for my app listing. As I don't have any APIs listed in the required section the request submission failed.

The app and listing is tested installing to a test domain owned by the owner(creator) of the app and project.

For app publishing used this document, for project creation used this document.

My question is how can a project which use only Google Apps Marketplace SDK be published? Is there an alternative way to do that like creating only to the Crome Web Store instead of publishing to Google Apps Marketplace?

Edit :

Following is the scope setting code and user details retrieving code I use in the programming/implementation end of the application.

// Create new instance of Google_Client
$client = new Google_Client();
$client->setClientId(GOOGLE_APP_CLIENT_ID);
// Set client secret
$client->setClientSecret(GOOGLE_APP_CLIENT_SECRET);
// Set redirect URI, this matches the Redirect URIs set in OAuth 2.0 client settings
$client->setRedirectUri(GOOGLE_APP_CLIENT_REDIRECT_URI);
// Set scopes
$client->addScope("openid profile email");

// Create a OAuth 2 service instance
$oauth2 = new Google_Service_Oauth2($client);

// Verify code and access_token
......
// Get user information and signup the user
$guser_info = $oauth2->userinfo->get();

// Get required user information infiormation
$firstName = $guser_info['givenName'];
$lastName = $guser_info['familyName'];
$userEmail= strtolower( filter_var($guser_info['email'], FILTER_SANITIZE_EMAIL) );

Enabled APIs in the Developer Console are

  1. Google Apps Marketplace SDK
  2. Google+ API

Scopes set in the Google Apps Marketplace SDK are (first two are set by default)

https://www.googleapis.com/auth/userinfo.email
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/plus.me

回答1:


It seems like Google is shifting away entirely from the "Apps Marketplace" and focusing on the Chrome Web Store. You can list an API project on the Chrome Web Store, but you kind of also have to include a defined extension or web app for it to install correctly.



来源:https://stackoverflow.com/questions/21988474/can-not-post-google-apps-marketplace-listing-review-request-for-api-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!