Posts

Showing posts with the label okta

Using OAuth2 in Spring Boot App with {okta}

Image
Add the following dependencies in POM file <dependency>     <groupId>com.okta.spring</groupId>     <artifactId>okta-spring-boot-starter</artifactId>     <version>0.2.0</version> </dependency>         <dependency>             <groupId>org.springframework.security.oauth</groupId>             <artifactId>spring-security-oauth2</artifactId>             <version>2.2.0.RELEASE</version>         </dependency> In spring boot main class add the following Bold and Underlined code            import org.springframework.boot.autoconfigure.SpringBootApplication;             import org.springframework.security.oauth2.config.annotation.web.con...