diff --git a/SpotifyAPI/Web/Auth/WebApiFactory.cs b/SpotifyAPI/Web/Auth/WebApiFactory.cs index 55c11d31..94e21980 100644 --- a/SpotifyAPI/Web/Auth/WebApiFactory.cs +++ b/SpotifyAPI/Web/Auth/WebApiFactory.cs @@ -42,13 +42,14 @@ namespace SpotifyAPI.Web.Auth _xss = xss; } - public Task GetWebApi() + public Task GetWebApi(bool showDialog = false) { var authentication = new ImplicitGrantAuth { RedirectUri = new UriBuilder(_redirectUrl) { Port = _listeningPort }.Uri.OriginalString.TrimEnd('/'), ClientId = _clientId, Scope = _scope, + ShowDialog = showDialog, State = _xss };