Skip to content

bitia-ru/examples-microservices-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Authentication Example

CLI

This example demonstrates the simpliest and fastest way to authenticate each request on the dedicated microservice and add sufficient headers (e.g., user login).

How to run

You should have Docker and docker-composed installed.

docker-compose build
docker-compose up -d

curl -i http://localhost:3000/
curl -i http://localhost:3000/forbidden_content
curl -i http://localhost:3000/unathenticated