Setting all DUO_ environment variables does not enable duo integration #3382
Labels
enhancement
New feature or request
low priority
Won't fix anytime soon, but will accept PR if provided
Subject of the issue
There are three Duo related environment variables,
DUO_HOST
,DUO_IKEY
andDUO_SKEY
which according to this template should enable the duo integration when all of the variables are set. This is not working and the user actually needs to set the undocumented variable_ENABLE_DUO
totrue
in order to enable the integration.Deployment environment
Install method: Docker
Other relevant details:
Steps to reproduce
DUO_HOST
,DUO_IKEY
andDUO_SKEY
Global Duo settings
and see that Duo is not enabledExpected behaviour
Duo should be enabled automatically when
DUO_HOST
,DUO_IKEY
andDUO_SKEY
are set in the environmentActual behaviour
Duo is not enabled automatically by the environment variables.
Troubleshooting data
The issue is likely due to this line in the conditional statement checking the Duo variables. It seems to set the conditional to true only if the undocumented variable
_ENABLE_DUO
is already true. A suggested solution would be to remove this part of the conditional to make the condition work as stated in the template.The text was updated successfully, but these errors were encountered: