mhawksey / open-badges-issuer-addon

WordPress plugin designed as BadgeOS add-on to issue Open Badges
GNU Affero General Public License v3.0
4 stars 11 forks source link

Admin-Awarded Only Assertions don't seem to be visible #4

Open cyclingzealot opened 9 years ago

cyclingzealot commented 9 years ago

After enabling the add-on in wordpress plugins and enabled the json api, I have created two admin-awarded only badges.

In the user's wordpress profile, I have awarded them to user jlam.

I have enabled public evidence in "Open badges Issuer settings".

I can see that the badge has been awarded to user jlam in http://tenjin.localhost/badges/test-badge-v02/

In the service end point for assertions (http://tenjin.localhost/api/badge/assertion/), I see

{
   "recipient" : {
      "salt" : "0ct3L",
      "hashed" : true,
      "identity" : "sha256$ec3e356a86bf553e539605587aa9ec64474e5225cf8cf3edbd0cda70dd9148c8",
      "type" : "email"
   },
   "uid" : null,
   "verify" : {
      "url" : "http://tenjin.localhost/api/badge/assertion/?uid=",
      "type" : "hosted"
   },
   "badge" : "http://tenjin.localhost/api/badge/badge_class/?uid=",
   "status" : "ok",
   "issuedOn" : 1430783581,
   "image" : false
}

Its my understanding that an assertion is the link between a badge and a user which is made once I awarded a badge.

There is a null uid, which results in incomplete URLs for badge and verify.url . Did I miss something in the installation instructions to make the link between badgeos data and the oepn badges addon?