I could no longer log in #4299

Closed
opened 2026-02-21 18:05:38 -05:00 by yindo · 3 comments
Owner

Originally created by @cello331 on GitHub (Jun 27, 2024).

Self Checks

  • 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 (我已阅读并同意 Language Policy).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.11

Cloud or Self Hosted

Cloud

Steps to reproduce

On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage.

✔️ Expected Behavior

On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage.

Actual Behavior

On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage.

Originally created by @cello331 on GitHub (Jun 27, 2024). ### Self Checks - [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 (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.6.11 ### Cloud or Self Hosted Cloud ### Steps to reproduce On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage. ### ✔️ Expected Behavior On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage. ### ❌ Actual Behavior On the 25th, after making the payment, I could no longer log in, and there was no login button on the top right corner of the homepage.
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 18:05:38 -05:00
yindo closed this issue 2026-02-21 18:05:38 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 27, 2024):

Hello @cello331! I'm here to help you with any bugs, questions, or contributions you may have while waiting for a human maintainer. Let's get your issue sorted out together!

There are a few potential reasons why the login button might be missing and why you can't log in:

  1. SSO Enforcement: If systemFeatures.sso_enforced_for_signin is set to true, the login form will not be displayed, and instead, the UserSSOForm component will be rendered [1].

  2. Loading State: If the loading state is true, a loading indicator will be shown instead of the login form or SSO form [1].

  3. Email Login Support: If useEmailLogin is false, the email login form (including the login button) will not be rendered. Only OAuth login options (like GitHub and Google) will be shown [2].

  4. Recent Changes: There have been recent changes to the Dify cloud service's authentication mechanisms. The cloud service now supports GitHub and Google login methods, while email login is not supported. SSO login is planned for future implementation [3].

  5. Client-Side Interference: Client-side JavaScript, such as the loading of Google Tag Manager scripts, could potentially interfere with the rendering of the login button [1].

To troubleshoot, you can:

  • Check if SSO is enforced and ensure the correct protocol is set.
  • Verify that the loading state is not stuck.
  • Confirm that email login is supported and enabled.
  • Ensure there are no client-side script errors affecting the rendering.

If the issue persists, reviewing server-side logs and monitoring might provide more detailed information about the failed login attempts or missing UI elements [4].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Jun 27, 2024): <!-- Greeting --> Hello @cello331! I'm here to help you with any bugs, questions, or contributions you may have while waiting for a human maintainer. Let's get your issue sorted out together! <!-- Answer --> There are a few potential reasons why the login button might be missing and why you can't log in: 1. **SSO Enforcement**: If `systemFeatures.sso_enforced_for_signin` is set to `true`, the login form will not be displayed, and instead, the `UserSSOForm` component will be rendered <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/signin/page.tsx)</sup>. 2. **Loading State**: If the `loading` state is `true`, a loading indicator will be shown instead of the login form or SSO form <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/signin/page.tsx)</sup>. 3. **Email Login Support**: If `useEmailLogin` is `false`, the email login form (including the login button) will not be rendered. Only OAuth login options (like GitHub and Google) will be shown <sup>[[2]](https://github.com/langgenius/dify/blob/main/web/app/signin/normalForm.tsx)</sup>. 4. **Recent Changes**: There have been recent changes to the Dify cloud service's authentication mechanisms. The cloud service now supports GitHub and Google login methods, while email login is not supported. SSO login is planned for future implementation <sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workspace/README.md)</sup>. 5. **Client-Side Interference**: Client-side JavaScript, such as the loading of Google Tag Manager scripts, could potentially interfere with the rendering of the login button <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/signin/page.tsx)</sup>. To troubleshoot, you can: - Check if SSO is enforced and ensure the correct protocol is set. - Verify that the `loading` state is not stuck. - Confirm that email login is supported and enabled. - Ensure there are no client-side script errors affecting the rendering. If the issue persists, reviewing server-side logs and monitoring might provide more detailed information about the failed login attempts or missing UI elements <sup>[[4]](https://github.com/langgenius/dify/blob/main/web/i18n/pt-BR/app-log.ts)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Jun 27, 2024):

Please go to https://cloud.dify.ai/ to login.The login button is not on top right of the corner, it's in the middle.
Please provide your email used to login, I will check that with our team.

@crazywoola commented on GitHub (Jun 27, 2024): Please go to https://cloud.dify.ai/ to login.The login button is not on top right of the corner, it's in the middle. Please provide your email used to login, I will check that with our team.
Author
Owner

@cello331 commented on GitHub (Jun 28, 2024):

@crazywoola Thank you very much, your method solved the problem.

@cello331 commented on GitHub (Jun 28, 2024): @crazywoola Thank you very much, your method solved the problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4299