Get Started with Spring Security 5.0 and OIDC

Matt Raible

You only need the okta-spring-boot-starter dependency:


<dependency>
<groupId>com.okta.spring</groupId>
<artifactId>okta-spring-boot-starter</artifactId>
</dependency>

It pulls in all the necessary Spring Security dependencies. Note that if you’re trying to secure methods in WebFlux, there’s currently an open issue.