diff --git a/spring-boot/pom.xml b/spring-boot/pom.xml index c753ddf..4d7ce81 100644 --- a/spring-boot/pom.xml +++ b/spring-boot/pom.xml @@ -20,8 +20,9 @@ - org.springframework.boot - spring-boot-starter-oauth2-resource-server + com.okta.spring + okta-spring-boot-starter + 2.1.6 org.springframework.boot @@ -56,6 +57,7 @@ + spring-boot:run org.springframework.boot diff --git a/spring-boot/src/main/resources/application.properties b/spring-boot/src/main/resources/application.properties index 34dd869..241e081 100644 --- a/spring-boot/src/main/resources/application.properties +++ b/spring-boot/src/main/resources/application.properties @@ -1 +1 @@ -spring.security.oauth2.resourceserver.jwt.issuer-uri=https://dev-17700857.okta.com/oauth2/default +okta.oauth2.issuer=https://dev-17700857.okta.com/oauth2/default