Enable badges using badgr on tutor openedx

Hello,

I’ve deployed with tutor the lilac version of openedx and I want to enable badges. I’ve followed the steps mentioned on 4.9. Enabling Badging — Installing, Configuring, and Running the Open edX Platform documentation but I can’t obtain any badges.

I’ve created a plugin to set the values in lms and cms:

name: badgr-enable
version: 0.1.0
patches:
  common-env-features: |
    "ENABLE_OPENBADGES": true

  lms-env: |
    "BADGR_USERNAME": "<your_username>",
    "BADGR_PASSWORD": "<your_pass>",
    "BADGR_TOKENS_CACHE_KEY": "<token_key>",
    "BADGR_BASE_URL": "<badgr_url>",
    "BADGR_ISSUER_SLUG": "badges",
    "BADGR_ENABLE_NOTIFICATIONS": true

  cms-env: |
    "BADGR_USERNAME": "<your_username>",
    "BADGR_PASSWORD": "<your_pass>",
    "BADGR_TOKENS_CACHE_KEY": "<token_key>",
    "BADGR_BASE_URL": "<badgr_url>",
    "BADGR_ISSUER_SLUG": "badges",
    "BADGR_ENABLE_NOTIFICATIONS": true

And followed all the steps described here 4.9. Enabling Badging — Installing, Configuring, and Running the Open edX Platform documentation and I can’t obtain any badges.

Am I missing something?

Thank you

Hi @LucianT,

I think the Badgr intergation is broken in Lilac. See this post for more details. You will have to cherry-pick the fixes if you want them in production.

If you are just testing it in a local machine, the fix should be in master and you can try the tutor edge branch.