Following these instructions: https://developers.google.com/google-apps/extensions-console/
I am unable to deploy an in-house Contextual Gadget to a Google Apps Domain.
Creating, assigning Manifest/Extractor(including validation) and deploying appear to work fine, however Granting Access results in a 302 (redirect) to the Google Apps Admin Console and the Gadget does not show up in the Marketplace Apps Management console.
UPDATE - Developed a workaround
1) Follow instructions https://developers.google.com/google-apps/extensions-console/
2) Then go to https://console.developers.google.com/project and select your project
3) APIS & OAUTH -> Credentials -> Create new ClientID
4) Select “Service account” then “Create Client ID”
5) The private key is not necessary for this process and can be discarded. Press “Okay, got it” button.
6) Go back to the Marketplace Apps console: https://admin.google.com/AdminHome#AppsList:serviceType=MARKETPLACE and select your project
7) Select “Data access”, then “Grant Data Access”
The Contextual Gadget should now be deployed and have the correct permissions
The way described at https://developers.google.com/gmail/contextual_gadgets seems to be totally outdated. Even the form in the Google Apps console for gadgets seems to be outdated.
You need to follow this description: https://developers.google.com/apps-marketplace/preparing
Contextual Gadgets are now developed using the API console (not app console) and there is a form to create the extractors etc.
Related
I am trying to integrate facebook into a Windows Store App.
I have created a new FB App and started working through the steps described in this blog post. http://blogs.windows.com/buildingapps/2013/11/14/facebook-login-for-windows-store-apps/
Here is where I ran into a problem. Step 2 describes how to obtain a Windows SID for an App that has yet to be published. However my app is already published. Does anyone know how to obtain a SID for an app that is already published in the Windows Store?
Instructions in this post should help you find how to locate SID for published app: https://msdn.microsoft.com/en-us/library/windows/apps/hh465407.aspx
It's listed under step 3 for obtaining the credentials for your app. Here are the steps:
Go to the Windows Store apps page of the Windows Dev Center and sign in with your Microsoft account.
Once you have signed in, click the Dashboard link.
On the Dashboard, select Submit an app.
On the Submit an app page, select App name.
Select the Services link.
On the Services page, select the Live Services link found under the Microsoft Azure Mobile Services section.
On the Push notifications and Live Connect services info page, select Identifying your app.
The Identifying your app page gives you an identity element to include in your app's manifest. Open your manifest in a text editor and add that element as the page instructs.
9.Click the Authenticating your service link at the bottom of that same Identifying your app page.
The Authenticating your service page provides your security identifier (SID) and client secret.
I see it's an old post, but I guess it's better to show a simpler solution, which is the one told by microsoft in this thread: https://msdn.microsoft.com/en-us/windows/uwp/publish/view-app-identity-details
You can just go to your application from the developer dashboard, then on the left you should expand the "App Management" option and choose "App Identity". There you can find many informations, including the App SID.
After upgrading to GoogleAppEngineLauncher 1.9.18 and clicking on the Deploy button, a new tab appears in the browser with a page reading:
Google App Engine appcfg would like to:
* View and manage your applications deployed on Google App Engine
* View and manage your data across Google Cloud Platform services
By clicking Accept, you allow this app and Google to use your information in accordance with their respective terms of service and privacy policies. You can change this and other Account Permissions at any time.
So I click the Accept button and a new page appears:
The authentication flow has completed.
The deploy completes, but this happens every time I Deploy a new version. What's up with this? Why doesn't it remember that I accepted the TOS and Privacy Policy? This is annoying!
Another question: How can I turn off this new "feature"?
Update: This only seems to apply to Mac launchers
Update on 2015-04-20: Upgrading to 1.9.19 has solved this problem
Did you just upgrade the appenginelauncher to version 1.9.18?
Per the release notes:
Mac Launcher now uses OAuth2 exclusively for app deployments.
Permissions are granted through the browser instead of a login dialog.
It looks like this is the way it is now.
I'm developing a google apps marketplace app. There's the Test install flow button on the dashboard, but I'd like to test installation on another domain of ours - to see that permissions, token etc. work as expected. Is there a way to install an (it's non published yet) on a domain which is not related to development?
Found a solution, this was surprisingly straightforward, but it worked for me:
Open two browser windows, one for your dev account (dev.com) and one for the domain you wish to test on (test.com)
In you dev account, go to the dashboard and click the Test installation flow button
In the popup that you get, go to the address bar and copy the link
Now go to the browser with your test.com domain, and enter this address
You'll be asked to login, and then you'll get the consent screen
You should now see the app in your test.com`s marketplace apps list
You can do this by creating a new application in the chrome web store.
Make sure that you create this application in the web store with an account that belongs to the given domain. Next, restrict access to your domain.
Finally, you can install the application on the domain.
I've created a test listing for Google Apps Marketplace (GAMv2) and have specified a setup url. When testing using the "TEST INSTALL FLOW" button, the authorization screen pops up and clicking the "Accept" button takes me to a popup that confirms the application has been added. There's a "Launch app" button and a "Manage app" link on this 2nd popup. The "Launch app" button goes to the setup url that I entered in the listing definition.
Isn't the install flow supposed to redirect there automatically? I've seen other questions where this behaviour seems to be working on and off:
Google Marketplace App Install Flow
Google Apps Marketplace SDK install does not forward user to Setup URL
Google app marketplace sdk setup url stopped working
There's also this page in the marketplace documentation which says it is supposed to redirect:
https://developers.google.com/google-apps/marketplace/eap/oauthwalkthrough
Are other people having this problem?
In v1 of the marketplace, yes, set up links were automatically included in the linear install flow. In the new install flow set up links are presented separately. They're presented to users, but there is no guarantee that that a user will click it. Even in V1 there were some cases where a user could end up bypassing the setup link.
There are some improvements that can be made to encourage admins to revisit the setup if they skipped it. In either case, apps should be tolerant of these cases and adapt.
My recommendation is to check on login and enter the setup flow if it hasn't yet been performed. You can use the licensing API to check if the domain has installed from the marketplace or not. If you need to enforce things like requiring admin permissions, you can add further checks to see if the current user is an admin for the domain and give non-admin users a polite message indicating the app isn't ready for them to use yet.
I have created a developer account on Google in order to publish an android app on Google Play. After some time I needed GCM, but I cant be able to get a API key. I am able to enter developer console, but when I try to create a new project I get an error as following:
ERROR
Developers Console has not been activated for your account. Your account may be suspended or disabled. If you are a Google Apps user, ask your domain administrator to enable Apphosting Admin on your account.
I have been sent no email about if my account was banned or not. I have posted an email to google support but they did not respond yet(not sure if they care). What should I do? How to find why I am banned from creating a project on Developer Console.
When I try to access some pages I have been redirected to this error page. This is where I have sent email.
From [here][1]:
Go into your domain administration # https://admin.google.com/AdminHome
Click the "More controls" link at the bottom the page
Within the panel that reveals, click "More Google Apps"
Select checkbox for "Google Developers Console" (hexagon nut logo)
In the top-left you will see an icon to "Turn ON services"
Confirm your choice
Apparently Google has changed the flow since this was answered.
I had to:
1) Go to this page via App Settings > Additional Google Services
https://admin.google.com/AdminHome#AppsList:serviceType=ADDITIONAL
2) Look for the "Develop applications using Google APIs and the Google Cloud Platform" setting
3) Click the vertical ... in the right hand corner of the row and select "ON for everyone"
Make sure you are logged in with the Admin account for your domain. If you are redirected to "https://apps.google.com/user/hub" then you are not an admin.
Enable Google Developer Console for G Suite (Google Apps)
admin.google.com
Select: Apps (Manage apps and their settings)
Select: Additional Google services (Blogging, photos, ...)
(bottom right corner you'll find Page 1 of 6, switch pages to locate Google Developers Console)
Check: Google Developers Console and select ON in top right corner
Confirm with TURN ON
You should ask your domain administrator to enable Apphosting Admin on your account.