It is a plugin that provides digest authentication to Redmine.
- 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
inyour_redmine_path/config/configuration.yml
.- When registering or changing
database_cipher_key
, please do after uncheckingEnable 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 runningrake db:encrypt RAILS_ENV=production
.
- When registering or changing
- 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.
Administrator > Plugins > Configure
You can change Digest authentication settings without restarting the web service.
- git clone or copy an unarchived plugin to plugins/redmine_digest_auth on your Redmine path.
$ cd your_redmine_path
$ bundle install
- web service restart
$ cd your_redmine_path
- remove plugins/redmine_digest_auth
- web service restart
- Re-authentication interval: 5 minutes
- If you do not operate anything, you will be asked again in about 5 minutes after authentication.
- 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.