5 Tips for Building your Java API

Matt Raible

There’s not much configuration or coding needed to create a Spring Boot app that integrates with Okta. You can create the app with Okta included as a dependency using cURL.


curl https://start.spring.io/starter.zip <br> -d dependencies=web,okta <br> -d packageName=com.okta.developer <br> -d name=quick-app <br> -d type=maven-project <br> -o quick-java-app.zip

Then you can unzip the project, navigate to it from a command line, and use the Okta Maven Plugin to create an account + configure your app.


mvn com.okta:okta-maven-plugin:setup

I doubt you can setup an LDAP server and configure Spring Boot to talk to it that fast. :wink: