From d58f3bb1cb6d888810ce2c8996a156bd30f26157 Mon Sep 17 00:00:00 2001 From: Mehmet Seckin Date: Fri, 3 Jul 2020 11:12:17 +0100 Subject: [PATCH] Revert redirect URI to localhost --- src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs b/src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs index 7608e74..3cffc34 100644 --- a/src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs +++ b/src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs @@ -15,7 +15,7 @@ public static IAuthenticationProvider GetAuthenticationProvider(IServiceProvider IPublicClientApplication app = PublicClientApplicationBuilder .Create(config.ClientId) - .WithRedirectUri("todo://auth-callback") + .WithRedirectUri("http://localhost") // Only loopback redirect uri is supported, see https://aka.ms/msal-net-os-browser for details .Build(); TokenCacheHelper.EnableSerialization(app.UserTokenCache);