Jwt Authentication SpringBoot
Microservices Architecture
Register all the microservices on eureka server
Runs on port 8080. Forward all the api requests from user to the destination microservice.
Filter all the http requests using Authorization token.
Handle user registration, Token generation and Token validation.
Use JwtService for authentication and mysql db to store user credential.
Customer Service & Admin Service
User access these services using api-gateway after authenticated to auth-service.