corrige l'id client
This commit is contained in:
parent
242972e930
commit
edcac5f332
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ namespace Mvc.Client.Controllers {
|
||||||
public ActionResult SignIn(string returnUrl) {
|
public ActionResult SignIn(string returnUrl) {
|
||||||
// Instruct the OIDC client middleware to redirect the user agent to the identity provider.
|
// 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
|
// 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);
|
return new ChallengeResult(OpenIdConnectDefaults.AuthenticationScheme, properties);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue