| 1 | .. _basic_auth-chapter: |
| 2 | |
| 3 | =================== |
| 4 | basic_auth plugin |
| 5 | =================== |
| 6 | |
| 7 | The basic_auth plugin is enabled by default in mediagoblin.ini. This plugin |
| 8 | provides basic username and password authentication for GNU MediaGoblin. |
| 9 | |
| 10 | This plugin can be enabled alongside :ref:`openid-chapter` and |
| 11 | :ref:`persona-chapter`. |
| 12 | |
| 13 | Set up the basic_auth plugin |
| 14 | ============================ |
| 15 | |
| 16 | 1. Add the following to your MediaGoblin .ini file in the ``[plugins]`` section:: |
| 17 | |
| 18 | [[mediagoblin.plugins.basic_auth]] |
| 19 | |
| 20 | 2. Run:: |
| 21 | |
| 22 | gmg assetlink |
| 23 | |
| 24 | in order to link basic_auth's static assets |