supertokens-node icon indicating copy to clipboard operation
supertokens-node copied to clipboard

Wrong error message when logging in using disabled first factor

Open sattvikc opened this issue 10 months ago • 0 comments

When trying to login through a disabled first factor (disabled in core, but enabled in backend and frontend). the error message says something went wrong and the logs suggest that a session is required, assuming that is a second factor login. The error message must be appropriate.

Steps to reproduce

  1. Create a new sample app and run
  2. Go to the dashboard / tenant management and disable thirdparty login under login methods
  3. from the frontend, try logging in using thirdparty

sattvikc avatar Jan 21 '25 09:01 sattvikc