Open Badge Factory

General plugins (Local) ::: local_obf
Maintained by OBF Admin, Antti Koskinen, Emilie Lenel
Issue Open Badges created in Open Badge Factory from Moodle, and display badges issued to users.
Latest release:
478 sites
250 downloads
41 fans
Current versions available: 3

Open Badge Factory - plugin

Open Badge Factory is a cloud platform that provides the tools your organization needs to implement a meaningful and sustainable Open Badges system.

With the local_obf plugin you can issue Open Badges created in Open Badge Factory

You can connect multiple OBF accounts to your Moodle site using OAuth2 API keys.


Important : to use this plugin you need a Premium or Pro account on https://openbadgefactory.com.

We recommend using OAuth2 keys when possible. Legacy API keys can still be used but support will end after year 2022.  


Post install

To connect to Open Badge Factory, the plugin needs API authentication key (OAuth2 or Legay client-side certificate). Only one key type can be used at a time. Remove previous connections in Moodle if you need to switch.

To generate the required API keys, log in to Open Badge Factory. When logged in, navigate to Admin tools > API.

OAuth2 keys:

On the API page click on Generate new client secret.

Give a Key description and click Generate.

Copy the generated client ID and generated secret

On your Moodle site :

  • Go to your OBF Moodle plugin settings, in Site administration > Open Badges > Settings.  

  • Click Add new and paste your client ID and generated secret

  • Define roles authorized to issue badges for this client

  • Click Add new client

Repeat the same process to add another OBF client.

Legacy key:

On the API page click on Generate certificate signing request token.

Copy the generated token into OBF Moodle plugin settings, in Site administration > Open Badges > Settings.


Also take a look at the separate displayer block plugin!

Screenshots

Screenshot #0
Screenshot #1

Contributors

OBF Admin (Lead maintainer)
Emilie Lenel: Editor
Leo Vainio: Developer
Heidi Wikman: Developer
Mika Veljo: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Fri, 13 Jan 2017, 5:12 PM
    Hi, am getting the same issue as Jouni. I can confirm I have generated and copied api key from the above URL. Running Moodle 3.1.1+ (Build: 20160804) on IIS 7.5 with MSSQL
  • Fri, 13 Jan 2017, 5:30 PM
    sorry should have been same issue as Aaron!
  • Fri, 13 Jan 2017, 5:47 PM
    I suggest we'll continue discussing this issue in https://github.com/discendum/obf-moodle/issues/11
  • Ricardo Caiado
    Sat, 17 Mar 2018, 10:46 PM
    Hi,

    Any update to Moodle 3.4?

    Ricardo
  • Sat, 7 Apr 2018, 6:41 PM
    +1
  • Anne
    Fri, 25 May 2018, 6:48 PM
    Hi,
    Have you any update to Moodle 3.4 and 3.5?
    Thanks
    Anne
  • Wed, 25 Jul 2018, 8:50 AM
    Piling on here... Update for 3.5 please! smile
  • Richard Samson
    Thu, 31 Jan 2019, 6:19 PM
    Any news about the version for Moodle 3.6? We need to know when this is planned so we can organise our own Moodle update strategy. OBF is one of our last major plugins to keep us waiting!
  • Fri, 22 Mar 2019, 3:53 PM
    Thanks For Sharing This Article This Article Very Helpful For Me
  • Sat, 23 Mar 2019, 2:23 AM
    thank you for this
  • Fri, 4 Feb 2022, 9:09 AM
    there is a limit of badges to show? i can only see 120 badges
  • Thu, 17 Mar 2022, 3:03 AM
    CSR output empty.error:0906D06C:PEM routines:PEM_read_bio:no start line
    error:02001002:system library:fopen:No such file or directory
    error:2006D080:BIO routines:BIO_new_file:no such file
    error:0E064002:configuration file routines:CONF_load:system lib
    error:02001002:system library:fopen:No such file or directory
    error:2006D080:BIO routines:BIO_new_file:no such file
    error:0E064002:configuration file routines:CONF_load:system lib
    error:02001002:system library:fopen:No such file or directory
    error:2006D080:BIO routines:BIO_new_file:no such file
    error:0E064002:configuration file routines:CONF_load:system lib
    error:02001002:system library:fopen:No such file or directory
    error:2006D080:BIO routines:BIO_new_file:no such file
    error:0E064002:configuration file routines:CONF_load:system lib



    How can we solve this error please. I am using xampp as localhost
  • Tue, 11 Oct 2022, 6:13 PM
    Is there a way to limit which badges are shown in Moodle ? If the plugin is used within a large organisation, the connection between the plugin and Moodle with the OAuth key makes all the badges visible when someone wants to use a few badges in his/her course. Is any segmentation possible ?

    Also, is there (technical) documentation about the plugin available somewhere ? We changed some of the permissions that the plugin adds to Moodle, in order to show/hide some of the links related to OBF in the course settings for specific roles, but we had to test the permissions and guess what they were doing.
  • Tue, 11 Oct 2022, 7:25 PM
    Hi @Cédric Floquet, You can indeed filter what badges can be used in your Moodle. In OBF, from the Creator tools, on your badge - step 3 permissions - you have a specific checkbox "Visible in external tools". If ticked, your badge will be available in Moodle. We are currently rebuilding our technical documentation, including all the related permissions descriptions, the new doc will be published in the coming days. Thanks for your patience.
  • Fri, 21 Oct 2022, 10:09 PM
    Hi @Emilie Lenel. Thanks for your answer. I'm happy to hear that technical docs are on the way smile

    I hit another problem in the meantime. While the Factory part of the plugin seems to work fine (we see our OBF badges in Moodle, and we can award them in our courses depending on completion settings), the Passport part of the plugin, available in every user's Preferences page, doesn't want to connect to OBP. We tested the plugin on a dummy Moodle which was hosted on an external provider's server, and it worked. But on our self-hosted Moodle at the university, each time we try to connect a user's profile to their Passport account, we receive an email giving us a token which we have to enter on Moodle to verify the address, and when we enter it, Moodle responds "Error writing to the database". I can't find why it doesn't work on this installation of Moodle, but works on another one. Do you have any ideas ?

    Thanks
    Cédric
1 2
Please login to post comments