As the title says, I implemented an an entire jwt signer and verifier for separate microservices in spring (spring security). I used this custome jwt filter for verification in the filter chain instead of using Spring Securities defaults in any microservice. This way, there is one public microservice handling auth/token generation for any user. I do not see any readily available jwt auth library for local development (not explicitly excluding production development), in spring boot or similar, which allow for this sort of auth implementation out of the box. I have created this spring based auth system (I’m calling the approach spring ERS- Edge Replacement Service). As in, auth microservice for your microservices instead of a gateway. Nice and uniform. I have this implemented decently for the time I’ve had. Anyone interested? Platform agnostic provided you can decode jwt and verify a signature. POC in spring back and and react front
Let me know your opinion on my creation 🙂
Thanks all!
Expected spring discovery client/spring security & Eureka server to support auth for separate microservices, instead had to implement my own auth approach (ERS – edge replacement service as I’ve called my workaround lol)