public void Connect(string consumerId, string consumerSecret, string baseAddress)
        {
            this.ConsumerId     = consumerId;
            this.ConsumerSecret = consumerSecret;
            this.BaseAddress    = baseAddress ?? _defaultBaseAddress;
            this.RedirectUrl    = this.BaseAddress + @"api/oauth";

            if (CurrentInstance != null)
            {
                CurrentInstance.CleanUp();
            }

            CurrentInstance = this;

            // start the server
            _webApp = WebApp.Start <Startup>(url: this.BaseAddress);

            // prepare scopes
            List <OidcScopes> scopes = new List <OidcScopes>();

            scopes.Add(OidcScopes.Accounting);

            // get auth url
            OAuth2Client client           = GetoAuthClient();
            string       authorizationUrl = client.GetAuthorizationURL(scopes);

            // start it in the customer's browser
            // this will then call back the get function int the controller
            System.Diagnostics.Process.Start(authorizationUrl);
        }