I am very new to Java and OKTA (I am a systems admin).
We have an application running on WebSphere and already it’s configured to be trusted by Okta. The problem is that, in certain Workflows, we need to call a pop-up window requesting user and password to confirm an action (required by the FDA) using Java.
I am thinking of using Java and do a POST to /api/v1/authn, sending the parameters in Json format.
BUT I am not sure where to start, which .jars should I download?
I was trying using https://github.com/okta/okta-auth-java, but I have problems big time trying to resolve all the missing dependencies and I was expecting to include a simple .jar (not all the .javas included there) and call these functions:
Client client = Clients.builder() .setOrgUrl("https://myURL.com") .setClientCredentials(new TokenClientCredentials("SomeAPIkey")) .build();
client.authenticate(“user”, “password”, “RelayState”, “stateHandler”);
In the name of God, I present here my help request, please help me.