I’m very new to Okta’s development and I want to dev a registration Hook for my tenant. To guide myself I found the corresponding SDK: https://github.com/okta/okta-hooks-sdk-java
But I cannot make work the Hook example inside it, I get many errors as you can see here :
Are you trying to run the example app? I can get it running with mvn spring-boot:run and it seems to be responding correctly when I make requests to http://localhost:8080/user-reg with a sample payload.
I downloaded the code from GitHub and navigated to the /okta-hook/okta-hooks-sdk-java/examples/spring-boot directory. Then I run mvn spring-boot:run and then I make a POST request to http://localhost:8080/user-reg with some random payload and I can see a response. Once you get past this step, you can modify the code to return a valid response.