diff --git a/Moonlight/App/Services/OAuth2Service.cs b/Moonlight/App/Services/OAuth2Service.cs index 0dcc309d..c96bd497 100644 --- a/Moonlight/App/Services/OAuth2Service.cs +++ b/Moonlight/App/Services/OAuth2Service.cs @@ -26,7 +26,9 @@ public class OAuth2Service var config = ConfigService.GetSection("Moonlight").GetSection("OAuth2"); - Configs = config.GetSection("Providers").Get(); + Configs = config.GetSection("Providers").Get() + ?? Array.Empty(); + OverrideUrl = config.GetValue("OverrideUrl"); EnableOverrideUrl = config.GetValue("EnableOverrideUrl"); AppUrl = configService.GetSection("Moonlight").GetValue("AppUrl");