bug: User Creation Error using username and password
See original GitHub issueDescribe the bug
Logto is up and running in render.com along with its PostgreSQL DB.
Creating a user using a username and password results in an unknown error in the front-end. But, while checking Audit Logs and User Management, the created user and its events show up as successful. Despite user creation, cannot log in using the user credentials. Says Unknown error. Please try again later.
Logging in using a social connector (Google OAuth) works fine. Added step-by-step screenshots for ease of understanding.
Expected behavior
User creation and redirection to set redirect URL
How to reproduce?
Create a Dockerfile in a GitHub repo
Only add FROM svhd/logto:1.0.0-beta.5
Connect Render.com to that GitHub repo
Create and run a PostgreSQL
Set ENV Variables
Integrate the API in the NextJS Application as per the documentation (getting started guide in the logto admin panel)
Call /api/logto/sign-in
using a button
Context
OS:
Environment: Docker Image at render.com
Logto version: v1.0.0-beta.5
Node version: 16
Postgres version: 14.0.+
Command of starting Logto: Image is automatically deployed and runs on every push from a Github repo. ENV variables are provided in render.com.
Screenshots
-
Creating a user using a username and password
-
Audit Log shows a successful event
-
Cannot log in using the created username and password
-
Despite 3, the User log shows successful login
-
Set up a google login connector and that works fine
Issue Analytics
- State:
- Created a year ago
- Comments:13 (8 by maintainers)
Top GitHub Comments
@ahamedzoha Hi Zoha, sorry for the long wait. But finally we decided to increase the ky timeout to 20s, which I think would be enough for any server to respond to the client.
You can wait for the next prerelease version (likely released on next Monday or Tuesday), or try to upgrade to
:edge
version of Logto after this PR is merged.Let me know if you have further questions. Thanks! Charles
Thank you @charIeszhao! I will eagerly await the next release.