parse-server
                                
                                
                                
                                    parse-server copied to clipboard
                            
                            
                            
                        Auth adapter error codes should be specific
New Feature / Enhancement Checklist
- [x] I am not disclosing a vulnerability.
 - [x] I am not just asking a question.
 - [x] I have searched through existing issues.
 
Current Limitation
Currently, if an additional adapter is used, and login is attempted without additional data is thrown, error code -1 is thrown. Also, if there is a throw from within validateLogin, the error code is 141.
Feature / Enhancement Description
The error codes for each of these cases should be specific, so UI can update to allow users to provide additional auth data.
Example Use Case
Alternatives / Workarounds
3rd Party References
Thanks for opening this issue!
- 🎉 We are excited about your ideas for improvement!
 
I assume this would be breaking; added the label.