supertokens-node
supertokens-node copied to clipboard
Wrong error message when logging in using disabled first factor
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
- Create a new sample app and run
- Go to the dashboard / tenant management and disable thirdparty login under login methods
- from the frontend, try logging in using thirdparty