OAuth2 connection from COM API

Hi there, 

We have a scenario where a customer has implemented a Federated Auth with MFA.

  • Person to machine auth: 
    When logging on as a user, the Federated Auth Login will pop up.
    The user can enter their credentials on the desktop then authenticate on the authentication app on their mobile device. 

  • Machine to machine auth: 
    We are able to provide the client_id, client_secret and resource and receive the access token in return. 
    Where we are running into an issue is with the authentication to connect to the vault. 
    The vault does not have a federated authentication plugin configured  in the vault. 
    When trying to create an authentication object, the MFAuthType allows for an "MFAuthTypeUnknown" as well as the usual MFiles/Windows auth types. 
    How do we pass the access token to M-Files to successfully authenticate to the vault ? 

I am convince there is a missing configuration ie. there is no federated auth plugin configured on the vault, but the customer assures us they had a 3rd party application successfully connecting to the vault. 
I trust this makes sense, and I hope somebody can assist with the connection. 

A side note, we are attempting to connect via the COM API using OAuth but are happy to use the RESTful API if this is an option.