Angular Authentication Tutorial - 10 - Testing User Login with Postman

preview_player
Показать описание

📱 Follow Codevolution

Angular | Angular Authentication Tutorial for Beginners | Login API testing
Рекомендации по теме
Комментарии
Автор

thank u very much for your tutorials..your teaching is simple and easy to understand.

theskysthelimit.
Автор

Thank you very much, every MEAN video is great!

simpleway
Автор

hello sir
how to check login condition using api server?register data details saved in server , in the same way we can done the login ?

anjithasreejith
Автор

It's typically not recommended to return "Invalid email" or "Invalid password", as a hacker can use this information to know what to target when trying to hack a user's credentials
Instead, a safer approach would be "Invalid email or password"

avi
Автор

You need to know NodeJs for any errors. Otherwise, you will fail miserably when errors appear.

aardvarkgroup
Автор

Hi Vishwas, Thank you for the amazing tutorial..
I didn't get why inside the login api we didn't have to do:
let user = new User(userData);
user.findeOne(...);
Like what we did inside the register api?
Please help.
Thanks in advance.

isitegatewebdesign
Автор

In the mongodb database there is no password in the user collections. Only the email and id are exist. how to fix this?

dynamiccontender
Автор

sir, when ever i am entering correct email and password in postman app. i am getting message like this:
" Could not get any response
There was an error connecting to localhost:3000/api/login."
And in command prompt like this:
"TypeError: req.status is not a function
at User.findOne

please give me a solution..

theskysthelimit.
Автор

All these tutorials leave out MongoDB authenticated user, has anyone got a tute for that? much appreciated.

djsargex
Автор

getting user as NULL.. does anyone had the same issue?

fvolpato