Skip to content

Commit

Permalink
Revert redirect URI to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin committed Jul 3, 2020
1 parent 1e696cf commit d58f3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Todo.CLI/Auth/TodoCliAuthenticationProviderFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d58f3bb

Please sign in to comment.