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
[BUG]: Unable to log in after registering an account with the correct credentials #4413
Comments
Hi @bimsina Good catch, let me try to take look at that |
@allcontributors please add @bimsina for bug |
I've put up a pull request to add @bimsina! 🎉 |
@abuaboud Any updates on this issue? |
Yes, I am waiting for this to land: #4481, to start progressing on the issue. Now, the issue here is that we need the platform ID to authenticate the user. Usually, we retrieve it from the custom domain, or in the community edition, we simply get the oldest platform. When the user logs in, the email is only unique across same platform at the moment, which means we can't determine which platform the user belongs to. However, I think in the community edition, we can make the email unique across instance, and that's way we can reverse-map to the platform ID. I am hoping to finish all work related to this change as soon as possible so we can land it. |
I am closing this issue, It will be fixed in the next release (after 0.25.1) It's already merged in main. |
|
Describe the bug
Unable to log in after registering an account with the correct credentials. The system returns the following error message:
To Reproduce
Steps to reproduce the behavior:
sh tools/deploy.sh
to generate a .env file.docker compose -p activepieces up
to start the services.Expected behavior
The expectation is that the account should log in successfully when the correct credentials are provided.
Additional context
From my initial analysis, it appears that a new
platformId
is generated for each registration. During the login process, the system seems to fail in locating the corresponding platformId, resulting in an "user not found" scenario. This might be the root cause of the login issues encountered.The text was updated successfully, but these errors were encountered: