DEV Community

Discussion on: Angular and the REST, Nest.js and JWT

Collapse
 
tayambamwanza profile image
Tayamba Mwanza

For anyone using passport for the the first time, please note that the request properties for local-strategy's validate function must be (username: string, password: string)., passport will give you a 401 error if you use anything else.