-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Environment Setup
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
Metadata
Metadata
Assignees
Labels
No labels