My requirement is to enable OAuth 2.0 for an existing OAuth 1.0 application in the Google Apps Marketplace . I created a new Google project in console and created a list for it. And now I need to send the Google Apps Marketplace Listing Review Request . Since this is an API project that uses only the Google Apps Marketplace SDK , so I cannot request to view a list of my applications. Since I do not have any of the APIs listed in the required section, the request failed.
The application and listing are tested for installation in a test domain owned by the owner (creator) of the application and project.
This document is used to publish applications, this is used to create a project.
My question is: how can I publish a project that uses only the Google Apps Marketplace SDK? Is there an alternative way to do this, like creating only in the Crome Web Store instead of publishing to the Google Apps Marketplace?
Edit:
Below is the area setup code and user data receiving the code that I use at the end of the programming / implementation 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) );
Included APIs in the developer console:
- Google Apps Marketplace SDK
- Google+ API
Areas installed in the Google Apps Marketplace SDK (the first two are installed by default)
https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/plus.me
google-apps google-oauth google-apps-marketplace
Shantha kumara
source share