Skip to content

Not able to Login #18846

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

Open
5 tasks done
koushik16 opened this issue Apr 27, 2025 · 5 comments
Open
5 tasks done

Not able to Login #18846

koushik16 opened this issue Apr 27, 2025 · 5 comments
Labels
🤔 cant-reproduce We can not reproduce it or the information is limited

Comments

@koushik16
Copy link

koushik16 commented Apr 27, 2025

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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.0

Cloud or Self Hosted

Cloud

Steps to reproduce

Try to log in.

✔️ Expected Behavior

Log in to dify

❌ Actual Behavior

Even after verifying the code with my actual login Email, it again goes to a page where it asks Email code and the Email is set as 'null'.

Image

@dosubot dosubot bot added cloud When the version is cloud and it is a bug report 🐞 bug Something isn't working labels Apr 27, 2025
@crazywoola
Copy link
Member

Hello, I have tried it in the SaaS environment, however I can not reproduce this.

Image

And it seems you haven't input the email address.

@crazywoola crazywoola added 🤔 cant-reproduce We can not reproduce it or the information is limited and removed 🐞 bug Something isn't working cloud When the version is cloud and it is a bug report labels Apr 27, 2025
Copy link

dosubot bot commented Apr 27, 2025

The issue you're experiencing, where the email address is displayed as 'null' during the verification step, might be related to how the email address is set and retrieved in the codebase. Unfortunately, I couldn't find specific information on where this is implemented in the Dify codebase. However, there are a few things you can check:

  1. Email Verification Process: Ensure that the email address is correctly passed and stored during the login process. This might involve checking the frontend code that handles the transition between the login page and the verification page.

  2. Known Issues: There is a known issue in Dify version 0.14.1 related to email verification, where verification code emails are not sent due to SMTP configuration errors. Although you're using version 1.3.0, it might be worth checking the worker container logs for any SMTP-related errors [1].

  3. Error Handling: Dify has specific error handling for email verification, including messages for invalid tokens or email addresses. Ensure that these error messages are not being triggered incorrectly [2][3][4][5].

  4. Dependencies: Verify that the dependencies for email sending, such as SMTP or Resend, are correctly configured [6].

If these checks don't resolve the issue, you might need to look deeper into the codebase or configuration settings to identify where the email address is being set to 'null'.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@koushik16
Copy link
Author

I did give my mail id, I was able to verify the code as well. But this is the next page I am seeing. After successful login, it is again going into a login page, setting the mail id as 'null'.

@crazywoola
Copy link
Member

Can you try again? Close the browser or do some "restart" stuff. Because I have tried several accounts and they can successfully login.

@koushik16
Copy link
Author

Tried again, but no change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 cant-reproduce We can not reproduce it or the information is limited
Projects
None yet
Development

No branches or pull requests

2 participants