mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-04 00:21:31 +00:00
A connector that authorizes through OAuth (Alor, Tradier, cTrader and others) asks ConfigManager for an IOAuthProvider when it connects, and the sample never registered one, so such a connector could not connect from it. The sample now registers the WPF OAuthProvider, as the WPF programs do in RegisterUIServices: the token is taken through the site the sample has already signed in to.