Communicating with AD Agent from desktop application

I am currently developing an application for a client that requires SSO capability. It is a desktop application (so it’s not web-facing). As a result, we have a Windows server configured with the Active Directory Agent to communicate with Okta.

The language/platform we’re using to develop the application is not a listed (or even well-known) option so there is no specific documentation for it. That said, I’m looking for basic (hopefully intuitive) documentation regarding prerequisites and all API endpoints for communicating with the AD Agent from the desktop application so as to facilitate auth via SSO.

I’m aware that the flow is: DESKTOP APPLICATION <–> AD AGENT <–> OKTA, but there’s still a lot I’m missing (e.g. protocols, token/cert requirements if any, steps/communication flow). Please advise.

https://www.okta.com/demo/saml-integrations-on-prem/