F
F
faleaksey2019-05-11 16:48:10
JavaScript
faleaksey, 2019-05-11 16:48:10

How to implement basic authentication on nodejs and others with provided API?

Good time everyone! There is an API and a test login:password to it (to the service that provides the api).
How to implement bacik authentication using nodejs(express, passport, axios(?)) ?
The task is to provide access to the service after verification. Tell me the solution "sketched on a napkin", where to dig, are there any tutorials? googled - a bunch of solutions where we create a local database, create a user and then check all this ala localhost:3000/api .

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question