# Get Discourse to read and issue OpenBadges?

**URL:** https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491
**Category:** Community Building
**Created:** [September 6, 2018, 11:20am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491 "2018-09-06T11:20:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![brucellino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brucellino/32/116032_2.png) [@brucellino](https://meta.discourse.org/u/brucellino)
#### Post date: [September 6, 2018, 11:20am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491/1 "2018-09-06T11:20:59Z")

</div>

This is one for the badge nerds 🤓 📛  
One of the thing I absolutely love about Discourse is the badge system. I am considering issueing badges with [badgr](https://badgr.org/). Since our community forum is key to the learning paths and experience, I would like the discourse badges to be synchronised somehow. I could do this by hand, but I was wondering if anyone had worked on something like this?

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [September 6, 2018, 11:23am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491/2 "2018-09-06T11:23:52Z")

</div>

I think someone was looking into this fairly recently but I’ve not seen any results - you might want to follow up

> [@OpenBadges Integration](https://meta.discourse.org/t/openbadges-integration/78978):
>
> Hi, I am working on a discourse setup to be used as a discussion board for a school. One of features requested was integration with Mozilla OpenBadges so students have a centralized group of badges of applications which we would like to include discourse. I have seen some posts on integration of OpenBadges and discourse but nothing looks concrete. I wanted to know if anyone was successful in integrating OpenBadges and discourse? or if anyone has resources or tips that might be useful?

---

<div class="post-metadata">

### Author: ![brucellino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brucellino/32/116032_2.png) [@brucellino](https://meta.discourse.org/u/brucellino)
#### Post date: [September 6, 2018, 11:32am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491/3 "2018-09-06T11:32:32Z")

</div>

Much obliged! perhaps you could merge this topic with that one. I didn’t see it whilst searching initially.

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [September 6, 2018, 11:39am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491/4 "2018-09-06T11:39:26Z")

</div>

That was posted to a #Development topic as I believe it was about the development of the plugin, whilst this topic is potentially an interesting conversation for community managers as well, since other CMs might be interested in discussing the ideas for new badges.

As a matter of interest, where is your site hosted? It might be possible to turn on Badge SQL for your instance so you can create your own badges without the need for badgr.

It is the case that [Enable Badge SQL](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894) but it might be possible to turn this on

---

<div class="post-metadata">

### Author: ![brucellino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brucellino/32/116032_2.png) [@brucellino](https://meta.discourse.org/u/brucellino)
#### Post date: [September 6, 2018, 11:51am UTC](https://meta.discourse.org/t/get-discourse-to-read-and-issue-openbadges/96491/5 "2018-09-06T11:51:14Z")

</div>

Thanks for the thoughts and feedback.

> [@robmc](#):
>
> As a matter of interest, where is your site hosted?

The case in point is

[https://community.egi.eu](https://community.egi.eu)

We don’t currently have any of the stuff I describe below…

> [@robmc](#):
>
> It might be possible to turn on Badge SQL for your instance so you can create your own badges without the need for badgr.

I’m going to have to read up about the Badge SQL before I stand too firmly behind what I’m about to say here…

There needs to be a badge authority, as well as badge portability, which is why OpenBadges is the path we think is correct. Badges issued for achievements on a discourse instance only make sense inside that context. We want them to make sense _outside_ that context too, in a way that has been validated and signed by an authority. We also want badges earned outside of the forum, but signed and validated by the badge authority to be portable _into_ discourse.

For example, we have a path whereby we provide some guidelines on being productive members of the community. Maybe you vist a few web pages and click some buttons. Maybe you take a short pre-recorded course. Once that’s done you get issued a badge.  
When you come to the forum your badge comes with you.

Since badges are (as far as I know), assigned to email addresses, the badge should be associable to the person when they log in. A discourse plugin for this might

1. contact a badge server of one’s choice
2. filter out the list of issuers of one’s choice
3. append the list of existing badges with those of the badge server

When users log in,

1. lookup the email address of the user
2. see if there are any badges for them on the server
3. synchronise the badges via the relevant sidekiq job or something…

Similarly, when users earn badges in discourse, a process claims it on the badge server for them.
