Calling Okta API from plsql

I am getting Java Exception when calling okta api for Token.
Any leads if it is poosible to call okta api from plsql?

@ppatil46 How did you access the api from plsql? Which api you are trying to call?
Here is a related discussion.