diff --git a/testOauthClient/Controllers/AuthenticationController.cs b/testOauthClient/Controllers/AuthenticationController.cs index 7ce203ab..7a00a8ba 100644 --- a/testOauthClient/Controllers/AuthenticationController.cs +++ b/testOauthClient/Controllers/AuthenticationController.cs @@ -11,7 +11,7 @@ namespace Mvc.Client.Controllers { public ActionResult SignIn(string returnUrl) { // Instruct the OIDC client middleware to redirect the user agent to the identity provider. // Note: the authenticationType parameter must match the value configured in Startup.cs - var properties = new AuthenticationProperties { RedirectUri = "http://localhost:5002/" }; + var properties = new AuthenticationProperties { RedirectUri = "/" }; return new ChallengeResult(OpenIdConnectDefaults.AuthenticationScheme, properties); }