From edcac5f332c1095bc070333ccfab8a515068102c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 4 Jun 2016 20:59:23 +0200 Subject: [PATCH] corrige l'id client --- testOauthClient/Controllers/AuthenticationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }