Answer the question
In order to leave comments, you need to log in
How to call authorization?
Good afternoon :)
There is such a package.
https://www.npmjs.com/package/express-basic-auth
I installed it, I get a 401 error in the console. Which says that you need to log in. But I don’t understand how to log in from the front part, is it possible somehow?
Answer the question
In order to leave comments, you need to log in
Maybe.
Read what http basic auth is in general.
Understand right away.
https://developer.mozilla.org/en-US/docs/Web/HTTP/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question