Spring Security in Motion -0Auth 2.0

Kondah Mouad
Geek Culture
Published in
16 min readNov 26, 2021

--

In the precedent part, we explored spring security components in depth, we discussed several ways to configure our security filters via security configurers. In this part we will continue our journey and discuss how to configure our http filter chain in order to support OAuth 2.0 Resource Server. Basically, it consists of adding a filter to parse the request for bearer tokens and make an authentication attempt by inspecting the received token.

We’ll also learn how to configure a OAuth 2.0 Login, which leverages the OAuth 2.0 Authorization Code Grant Flow that we can…

--

--