persona plugin

The persona plugin allows users to login to you GNU MediaGoblin instance using Mozilla Persona.

This plugin can be enabled alongside openid plugin and basic_auth plugin.

Note

When basic_auth plugin is enabled alongside this persona plugin, and a user creates an account using their persona. If they would like to add a password to their account, they can use the forgot password feature to do so.

Set up the persona plugin

  1. Install the requests package.

  2. Add the following to your MediaGoblin .ini file in the [plugins] section:

    [[mediagoblin.plugins.persona]]
    
  3. Run:

    gmg dbupdate
    

    in order to create and apply migrations to any database tables that the plugin requires.

  4. Run:

    gmg assetlink
    

    in order to persona’s static assets.