How to find a Windows Store App's SID? - windows

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.

Related

Unable to deploy Contextual Gadget using Google Apps Extensions Console

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.

How to test installation on non dev domain

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.

Setup Url for Google Apps Marketplace (GAMv2) doesn't redirect

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.

Google developer console disabled

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.

Chrome Web Store asking for payments

I am working on a Chrome Web Store application, and plan to use the Chrome Web Store Payments. I could find the documentation on how to check if the user has paid, but I can't figure out how to offer the user to pay? How should I redirect him to the store?
First you should publish your app to test users. If necessary add them to a google group and choose that group in the developer dashboard. Of course you will need to enable payments for your app too.
Only these test users will be able to see the link, which you can find through the developer dashboard by clicking on your app's name. This will make a link, which at the moment is constructed like this:
https://chrome.google.com/webstore/detail/YOUR_APPS_CHROME_STORE_NUMBER
This page will have an "Add to Chrome for $x" that they need to click to help you test your payment implementation. This URL could be used for advertising as well.
Google advises to create a new app listing for the public release of your app.

Resources