You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backend: Parse Server 2.2.6
Frontend Web App: Parse JS SDK 1.8.1
Steps to reproduce
Login to parse using one of the 3rd party oauth providers
Check DB => New user with oauth data is created
Add an username/email (in my case they are equal) to that oauth user (Note: I do NOT have a password set for the user)
Logout
Try to login using the username/email that just has been added to the oauth user
=> Getting an undefined error since that user has NO password (which was on purpose)
Expected behavior:
=> Getting an error that tells me that this user has no password so that I can handle that error in my front end code.
Logs/Trace
Parse Server VerboseMode output (multiple times the same error):
verbose: GET /api/login { host: '192.168.0.132:1337',
'content-type': 'text/plain',
origin: 'file://',
connection: 'keep-alive',
accept: '*/*',
'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238 (5751683120)',
'accept-language': 'de-de',
'accept-encoding': 'gzip, deflate',
'content-length': '221' } {
"username": "MY_EMAIL",
"password": "MY_PASSWORD"
}
verbose: error: Incorrect arguments
error: Uncaught internal server error. Incorrect arguments undefined
The text was updated successfully, but these errors were encountered:
No, I "only" have added the email/username (are equal in my case) to the user but NO password. I'm totally aware that the user should not be able to login but I just wanted to note that that case is not properly handled by any error. If a user who has NOT set up a password yet (but has an username/email) tries to login I would expect to get an error that I can handle in my fronted to make the user aware of the issue. So far I can't really handle the error...
Environment Setup
Backend: Parse Server 2.2.6
Frontend Web App: Parse JS SDK 1.8.1
Steps to reproduce
=> Getting an undefined error since that user has NO password (which was on purpose)
Expected behavior:
=> Getting an error that tells me that this user has no password so that I can handle that error in my front end code.
Logs/Trace
Parse Server VerboseMode output (multiple times the same error):
The text was updated successfully, but these errors were encountered: