Skip to content

Commit

Permalink
default OAuth redirect URI to http://127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed Oct 20, 2023
1 parent 62eb6ab commit 016c906
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/shared/Core/GenericOAuthConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 016c906

Please sign in to comment.