Spring Security Using JWT in Spring Boot Application

We wanted to implement OAuth2 security using JWT to protect our API(s). We are running our micro-service application in kubernetes platform and using Active Directory as our Authorization Server.

High Level Flow

In our case the Authorization server is “Azure AD”. The resource server is our micro-service which exposes some API(s) which we want to…