Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot disable autologin or create unique creds for superuser #24

Open
syoung-gaia opened this issue Dec 17, 2024 · 0 comments
Open

Cannot disable autologin or create unique creds for superuser #24

syoung-gaia opened this issue Dec 17, 2024 · 0 comments

Comments

@syoung-gaia
Copy link

Looking at the code, I should only need to uncomment and add values to these few lines within my own values.yaml file:

    # autoLogin: true|false
    # superuser: <superuser login>
    # superuserPassword: <superuser password>
    # secretKey: <encryption key, optional>
    # newUserIsActive: true|false
    autoLogin: false
    superuser: "admin"
    superuserPassword: "Testing123"
    secretKey: "tEsTMysEcrETkEy"
    newUserIsActive: true

However, this block never gets inserted into the rendered manifest. There must either be a bug with Helm, or this if-statement within the backend-statefulset.yaml file isn't correct:

{{- if and (hasKey .Values.langflow.backend "autoLogin") (eq .Values.langflow.backend.autoLogin false) }}

Certainly looks right. But it also never works. I've checked everything imaginable, like running yamllint against my values.yaml file, and running helm template to see if any errors are received. Sure would be nice if Helm's --debug flag actually printed the logic steps & results. Why does something so seemingly innocuous always turns out to be rather deadly?

@syoung-gaia syoung-gaia changed the title OAuth support for authenticating Langflow user accounts Cannot disable autologin or create unique creds for superuser Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant