JWT minded Configuration Integration for Spring Cloud Config Server - Sample Project for Seattle 911 calls Open Data
Config Server uses JWT authentication approach instead of standard Basic Authentication. Please keep in mind Spring Cloud Config Client needs some changes too. Find code here
Authentication flow has following steps:
- Client sends request with username/password to Server's Authentication REST Controller.
- Server returns back JWT.
- Client includes Token with Bearer: prefix into Authorization Header for querying configuration values from Config Server.
- All JWT-related configuruation happens on Client side. Please use standard Spring Cloud Config Server configuration.