When installing YODA via ansible and the oidc_active variable is set to false, the flask.cfg lacks any OIDC configuration, provoking that the file /var/www/yoda/user/user.py fails when trying to access the oidc_domains, which is None; therefore, producing an Internal Server Error
File "/var/www/yoda/user/user.py", line 433, in get_login_placeholder
if len(oidc_domains) == 0 or oidc_domains[0] == "":
TypeError: object of type 'NoneType' has no len()
Expected Behavior
When the oidc_active variable is set to false, the YODA login page should show the login prompt to enter the username
Is there an existing issue for this?
Current Behavior
When installing YODA via ansible and the oidc_active variable is set to false, the flask.cfg lacks any OIDC configuration, provoking that the file /var/www/yoda/user/user.py fails when trying to access the oidc_domains, which is None; therefore, producing an Internal Server Error
Expected Behavior
When the oidc_active variable is set to false, the YODA login page should show the login prompt to enter the username
Steps To Reproduce
Install YODA via ansible with: oidc_active: false
Environment
Anything else?
No response