The Inventu Viewer+ Single Signon Server Extension provides a scripted solution for a wide variety of connection scenarios.
The InventuSSO.dll is an Inventu Viewer Logging Extension as described at https://software.inventu.com/help/html/FVExtLogger/index.html
It is provided to customers in source form with a simple set of commands that enable generation of unique encryption keys as well as compiling for deployment.