proversity-org / badgr-xblock

3 stars 5 forks source link

Proversity/add tests for badges #5

Closed lidijarad closed 7 years ago

lidijarad commented 7 years ago

@nicovanniekerk, in order for the badger API token to be availble to the BadgerXblock, we need to set the following in both lms/cms env.json files inside XBLOCK_SETTINGS. This has been added so that we can populate the dropdowns in studio with the issuers available on badgr.proversity.org and their associated badges. This is for future development. This specific PR is however for improved error handling for badgerXblokc.

            "XBLOCK_SETTINGS": {
                "BadgerXBlock": {
                    "BADGR_API_TOKEN": "YOUR API KEY GOES HERE"
                }
            },
nicovanniekerk commented 7 years ago

@lidijarad i am happy with the changes, but i have to add some configuration script updates to make sure the settings persist. i will merge this once i have that in place and then we can test.