html5 tutorial online accounts should not used default key
Bug #1316639 reported by
Kyle Nitzsche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Developer Portal |
Fix Committed
|
High
|
Alberto Mardegan |
Bug Description
This tutorial:
http://
Uses the former approach of using the default built-in OS key.
This means facebook (or whatever upstream api server) identifies the app as owned by the OS. The new model is that the app dev provides their key so that the upstream identifies the app owner appropriately.
To address this, mardy will provide an MR to ubuntu-
Mardy, I will assign this bug to you to start with, then we can assign it to me.
Related branches
Changed in ubuntudeveloperportal: | |
assignee: | nobody → Alberto Mardegan (mardy) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ubuntudeveloperportal: | |
status: | Confirmed → In Progress |
Changed in developer-ubuntu-com: | |
status: | In Progress → Incomplete |
Changed in developer-ubuntu-com: | |
status: | Incomplete → Fix Committed |
To post a comment you must log in.
Hi Kyle, I linked a branch with the necessary changes. It's not ready for being merged yet, because the key I'm using there it's the one from Shotwell -- I think you told me that you actually did register one key with facebook, so please tell me its client-id and we'll use yours.
Note that the tutorial will have to be modified slightly: the "Run the apps" sections says to run the apps directly, but now that won't work anymore, because we first need to install the .application and .service files in a location where libaccounts can read them. Therefore, for this example the steps now are:
click build . <your-username> ./com.ubuntu. developer. knitzsche. oa-2_0. 1_all.click ubuntu. com/com. ubuntu. developer. knitzsche. oa-2/current html5-app- launcher --www=www
sudo click install --user=
cd /opt/click.
ubuntu-