Project

General

Profile

Plugins Directory » Redmine digest auth plugin

Author: Minoru Maeda
Website: https://github.com/matsukei/redmine_digest_auth
Code repository: https://github.com/matsukei/redmine_digest_auth.git
Registered on: 2017-06-02 (over 7 years ago)
Current version: 1.0.0
Compatible with: Redmine 3.3.x, 3.2.x
User ratings:   (0)

It is a plugin that provides digest authentication to Redmine.

Usage

  • Administrator > Plugins > Configure > checked Enable Digest Authentication and input digest auth settings.
  • If you want to encrypt the password you entered, register database_cipher_key in your_redmine_path/config/configuration.yml .
    • When registering or changing database_cipher_key , please do after unchecking Enable Digest Authentication in digest authentication setting. Please enter the password again afterwards.
    • If you are already registering SCM or LDAP password, please carefully read the notes in your_redmine_path/config/configuration.yml , such as by running rake db:encrypt RAILS_ENV=production .
  • As a last resort, you can reset digest authentication settings with the following command:
    $ cd your_redmine_path
    $ bundle exec rails console -e production
    > record = Setting.where(name: 'plugin_redmine_digest_auth').first
    > record.destroy
    > exit
    

    Then restart the web service.

Screenshot

Administrator > Plugins > Configure

You can change Digest authentication settings without restarting the web service.

Not improved

  1. Re-authentication interval: 5 minutes
    • If you do not operate anything, you will be asked again in about 5 minutes after authentication.
  2. There are exceptions where digest authentication is not required. It is a static file URL directly under the public folder and a URL with no routing definitions.
    • For implementation via before_action, static files can be referenced.

Changelog

1.0.0 (2017-06-02)

Compatible with Redmine 3.3.x, 3.2.x.