Skip to content

OAuth2 Client as Application module (webflux)

Example of application module, which uses OAuth2 client with client credentials grant flow. Example of such applications are batch applications executing tasks, which needs to access API of other modules or systems.

Application utilizes the Spring Security OAuth2 Client, which supports: * logging-in users in using OAuth 2.0 or OpenID Connect 1.0 * obtaining an access token for application in order to access an API

The application also utilizes the Spring WebClient with the Spring Security extension, which adds capabilities as injection of access tokens into HTTP requests (Authorized WebClient).