Yes, it is possible to use the Principal Propagation Authentication flow to call the Workflow service while using the type-safe workflow client.
However, you cannot use the ScpCfServiceDestinationLoader
to create the destination programmatically in this case. Currently, we only support client credentials flow with the loader.
Instead, you should create a destination in BTP(CF) with OAuth2UserTokenExchange authentication type and then subsequently use DestinationAccessor
to fetch this destination.
We are evaluating options to extend the ScpCfServiceDestinationLoader
API to support other authentication types but have not planned this feature yet.