SharePoint CSOM Authentication

Can you supply any guidance on how to go about authenticating to SharePoint via their client object model for sites that rely on Okta for authentication.

I see there are api’s to authenticate to Okta and have tried calling those with some success. But I think what we need is a way to provide SharePoint with a bearer token provided by Okta to authenticate.

Thanks in advance.