This is how an integration with Facebook OAuth 2.0 authentication would work:
First, a user creates an application in https://developers.facebook.com/. Their Facebook application App ID and App Secret must be loaded in the 'General' tab in the 'Client ID' and 'Client Secret' fields, respectively.
In the Facebook application Settings → Advanced menu, they must enter their Thinfinity Remote Desktop Server URL: "https://<ThinfinityRDServer>/oauth2" as “Valid OAuth redirect URIs” under the 'Client OAuth Settings" title.
Then in the 'Server' tab, they must indicate that the Server Kind is 'Custom' and then fill in the rest of the values like this, altough Thinfinity comes with different authentication methods already configured :