From 016c906f071e9a4995bf37374c7ce88fdb25ec0c Mon Sep 17 00:00:00 2001 From: M Hickford Date: Fri, 20 Oct 2023 19:48:25 +0100 Subject: [PATCH] default OAuth redirect URI to http://127.0.0.1 --- src/shared/Core/GenericOAuthConfig.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/Core/GenericOAuthConfig.cs b/src/shared/Core/GenericOAuthConfig.cs index 0e2a74b75..1f8aa16fb 100644 --- a/src/shared/Core/GenericOAuthConfig.cs +++ b/src/shared/Core/GenericOAuthConfig.cs @@ -81,9 +81,7 @@ public static bool TryGet(ITrace trace, ISettings settings, Uri remoteUri, out G } else { - trace.WriteLine($"Invalid OAuth configuration - missing/invalid redirect URI: {redirectUrl}"); - config = null; - return false; + config.RedirectUri = new Uri("http://127.0.0.1"); } if (settings.TryGetSetting(