Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Download<>Upload Badge to Backpack Issue with 2.0 #1159

Open
mattdigitalme opened this issue Jan 16, 2018 · 0 comments
Open

Download<>Upload Badge to Backpack Issue with 2.0 #1159

mattdigitalme opened this issue Jan 16, 2018 · 0 comments

Comments

@mattdigitalme
Copy link
Contributor

Hey @auralon

We've connected the new Backpack staging to OBA for testing. Pushes badges work as expected to a single email address.

Downloading a badge in 1.1 uploads correctly to Backpack
Downloading a badge in 2.0 however throws an error
screen shot 2018-01-16 at 16 05 09

I've checked the Badge (
i am lorde ) on the IMS Validator and it passes:

{
"report": {
"warningCount": 0,
"messages": [],
"openBadgesVersion": "2.0",
"valid": true,
"validationSubject": "https://stagus.s3.amazonaws.com/obastag/mod/badge/json/v2/assertion/4992.json",
"errorCount": 0
},
"graph": [
{
"image": {
"id": "https://stagus.s3.amazonaws.com/obastag/mod/badge/img/269/badgeimage_855.png",
"caption": "i am lorde",
"type": "ImageObject"
},
"name": "i am lorde",
"criteria": {
"id": "https://oba.digitalme.co.uk/badge/269",
"type": "Criteria",
"narrative": "i am"
},
"version": 2,
"description": "i am",
"type": "BadgeClass",
"id": "urn:uuid:b52e1a1e-ded8-4719-8b9f-bcdbba2d3706",
"issuer": "https://stagus.s3.amazonaws.com/obastag/mod/badge/json/v2/issuer/1.json"
},
{
"badge": "urn:uuid:b52e1a1e-ded8-4719-8b9f-bcdbba2d3706",
"recipient": {
"hashed": true,
"identity": "sha256$868a3bf12b5106c2bea088379226ce55c8262c593bb0bdb6a46c8a7b50b5a239",
"type": "email",
"salt": "7035a7718702b1f05a437b65a08a92ff1766d01f581a973d81fd955a89de34b9"
},
"id": "https://stagus.s3.amazonaws.com/obastag/mod/badge/json/v2/assertion/4992.json",
"revoked": false,
"issuedOn": "2018-01-16T15:57:05.494+00:00",
"verification": {
"type": "HostedBadge"
},
"type": "Assertion",
"evidence": "https://oba.digitalme.co.uk/badgesubmission/4992",
"@context": "https://w3id.org/openbadges/v2"
},
{
"@context": "https://w3id.org/openbadges/v2",
"type": "Profile",
"telephone": "+441132469989",
"verification": {
"verificationProperty": "id",
"type": "VerificationObject"
},
"name": "Default Site",
"url": "https://oba.digitalme.co.uk/defaultsite",
"description": "",
"image": "https://s3-eu-west-1.amazonaws.com/obaprod/mod/badge/sitelogo_small.png",
"id": "https://stagus.s3.amazonaws.com/obastag/mod/badge/json/v2/issuer/1.json",
"email": "developer+defaultsite@digitalme.co.uk"
}
],
"input": {
"value": "https://stagus.s3.amazonaws.com/obastag/mod/badge/json/v2/assertion/4992.json",
"input_type": "url"
}
}

However on Badgecheck.io it fails - @ottonomy which is the most up to date Validator? The only error message I get on badgecheck.io is this:
screen shot 2018-01-16 at 16 08 38

Essentially which should we be trusting a validating the badge correctly?

@auralon Any thoughts on what the BP issue could be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant