README.rst 994 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .. _persona-chapter:
  2. ================
  3. persona plugin
  4. ================
  5. The persona plugin allows users to login to you GNU MediaGoblin instance using
  6. `Mozilla Persona`_.
  7. This plugin can be enabled alongside :ref:`openid-chapter` and
  8. :ref:`basic_auth-chapter`.
  9. .. note::
  10. When :ref:`basic_auth-chapter` is enabled alongside this persona plugin, and
  11. a user creates an account using their persona. If they would like to add a
  12. password to their account, they can use the forgot password feature to do
  13. so.
  14. .. _Mozilla Persona: https://www.mozilla.org/en-US/persona/
  15. Set up the persona plugin
  16. =========================
  17. 1. Install the ``requests`` package.
  18. 2. Add the following to your MediaGoblin .ini file in the ``[plugins]`` section::
  19. [[mediagoblin.plugins.persona]]
  20. 3. Run::
  21. gmg dbupdate
  22. in order to create and apply migrations to any database tables that the
  23. plugin requires.
  24. 4. Run::
  25. gmg assetlink
  26. in order to persona's static assets.