Dify helm have no default user/pass #22168

Closed
opened 2026-02-21 20:16:02 -05:00 by yindo · 3 comments
Owner

Originally created by @Sotatek-HuyTran16 on GitHub (Feb 9, 2026).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Environment:

Deploy dify-enterprise-frontend only and not deploy dify-web

✔️ Expected Behavior

Have default username/password to login

Actual Behavior

Don't find any default user/pass

Originally created by @Sotatek-HuyTran16 on GitHub (Feb 9, 2026). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.2 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce Environment: - Dify Helm chart version: 3.5.6 - Downloaded from: https://langgenius.github.io/dify-helm/#/pages/3_5_6 - Kubernetes distribution: Canonical Kubernetes - Cluster type: Fully air-gapped (no Internet access) - Container registry: Private Harbor registry Deploy dify-enterprise-frontend only and not deploy dify-web ### ✔️ Expected Behavior Have default username/password to login ### ❌ Actual Behavior Don't find any default user/pass
yindo added the 💪 enhancement label 2026-02-21 20:16:02 -05:00
yindo closed this issue 2026-02-21 20:16:02 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 9, 2026):

Dify intentionally has no default login credentials. Instead, you need to create the initial admin account through the setup page after deployment.

To create your first admin account:

  1. Navigate to http://your-dify-url/install in your browser
  2. Enter your desired email, name, and password to create the admin account

This is a one-time setup process that creates the first admin user and marks the system as initialized.

Troubleshooting tips:

  • If you see "No identity authentication method configured" at login, access /install to complete setup (#11552)
  • Ensure the INIT_PASSWORD environment variable is not set in your Helm values, as this can cause setup state inconsistencies
  • Make sure your persistent storage volumes have proper write permissions

Let me know if the /install endpoint isn't accessible in your air-gapped environment!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Feb 9, 2026): <!-- Answer --> Dify intentionally has **no default login credentials**. Instead, you need to create the initial admin account through the setup page after deployment. **To create your first admin account:** 1. Navigate to `http://your-dify-url/install` in your browser 2. Enter your desired email, name, and password to create the admin account This is a [one-time setup process](https://github.com/langgenius/dify/blob/7dabc03a08375488632b42440fb46edeed3c2a34/api/controllers/console/setup.py#L56-L85) that creates the first admin user and marks the system as initialized. **Troubleshooting tips:** - If you see "No identity authentication method configured" at login, access `/install` to complete setup ([#11552](https://github.com/langgenius/dify/issues/11552)) - Ensure the `INIT_PASSWORD` environment variable is **not set** in your Helm values, as this can cause [setup state inconsistencies](https://github.com/langgenius/dify/issues/29073) - Make sure your persistent storage volumes have proper write permissions Let me know if the `/install` endpoint isn't accessible in your air-gapped environment! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0ee62ecd-481c-4b53-9791-1950a6dc7fa7?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Dify%20intentionally%20has%20%2A%2Ano%20default%20login%20credentials%2A%2A.%20Instead%2C%20you%20need%20to%20create%20the%20initial%20admin%20account%20through%20the%20setup%20page%20after%20deployment.%0A%0A%2A%2ATo%20create%20your%20first%20admin%20account%3A%2A%2A%0A1.%20Navigate%20to%20%60http%3A//your-dify-url/install%60%20in%20your%20browser%0A2.%20Enter%20your%20desired%20email%2C%20name%2C%20and%20password%20to%20create%20the%20admin%20account%0A%0AThis%20is%20a%20%5Bone-time%20setup%20process%5D%28https%3A//github.com/langgenius/dify/blob/7dabc03a08375488632b42440fb46edeed3c2a34/api/controllers/console/setup.py%23L56-L85%29%20that%20creates%20the%20first%20admin%20user%20and%20marks%20the%20system%20as%20initialized.%0A%0A%2A%2ATroubleshooting%20tips%3A%2A%2A%0A-%20If%20you%20see%20%22No%20identity%20authentication%20method%20configured%22%20at%20login%2C%20access%20%60/install%60%20to%20complete%20setup%20%28%5B%2311552%5D%28https%3A//github.com/langgenius/dify/issues/11552%29%29%0A-%20Ensure%20the%20%60INIT_PASSWORD%60%20environment%20variable%20is%20%2A%2Anot%20set%2A%2A%20in%20your%20Helm%20values%2C%20as%20this%20can%20cause%20%5Bsetup%20state%20inconsistencies%5D%28https%3A//github.com/langgenius/dify/issues/29073%29%0A-%20Make%20sure%20your%20persistent%20storage%20volumes%20have%20proper%20write%20permissions%0A%0ALet%20me%20know%20if%20the%20%60/install%60%20endpoint%20isn%27t%20accessible%20in%20your%20air-gapped%20environment%21)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/32178)
Author
Owner

@Sotatek-HuyTran16 commented on GitHub (Feb 10, 2026):

I have setup with your endpoint, but still can't login.

The api response 201 created but the problem is it create account in dify database and not create in enterprise database.

The enterprise UI still pop-up user email not found.

@dosu

Image Image Image

Update: I can login with API POST only

Image
@Sotatek-HuyTran16 commented on GitHub (Feb 10, 2026): I have setup with your endpoint, but still can't login. The api response 201 created but the problem is it create account in dify database and not create in enterprise database. The enterprise UI still pop-up user email not found. @dosu <img width="1728" height="386" alt="Image" src="https://github.com/user-attachments/assets/cb88fd21-d4cf-4304-b2d5-825971ff3a69" /> <img width="1737" height="881" alt="Image" src="https://github.com/user-attachments/assets/05aa67c2-026c-47a5-a442-42bd998a52bd" /> <img width="1152" height="636" alt="Image" src="https://github.com/user-attachments/assets/17bffee2-a0a1-4d4f-be10-bdf2df72337c" /> Update: I can login with API POST only <img width="1155" height="758" alt="Image" src="https://github.com/user-attachments/assets/7eafe20f-bdf7-4f10-bcb9-90df6e1a8dca" />
Author
Owner

@crazywoola commented on GitHub (Feb 10, 2026):

Hi @Sotatek-HuyTran16, thanks for opening this issue.

Why this is being closed

This issue relates to the Dify Enterprise Helm chart and enterprise deployment inquiries.

Next steps

Please reach out to our business@dify.ai or submit a report via Zendesk for enterprise-related support.

@crazywoola commented on GitHub (Feb 10, 2026): Hi @Sotatek-HuyTran16, thanks for opening this issue. ### Why this is being closed This issue relates to the Dify Enterprise Helm chart and enterprise deployment inquiries. ### Next steps Please reach out to our business@dify.ai or submit a report via Zendesk for enterprise-related support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22168