diff --git a/sandbox/OpenIddict.Sandbox.AspNet.Client/Controllers/AuthenticationController.cs b/sandbox/OpenIddict.Sandbox.AspNet.Client/Controllers/AuthenticationController.cs index 4a9c61e8..bdfbecc4 100644 --- a/sandbox/OpenIddict.Sandbox.AspNet.Client/Controllers/AuthenticationController.cs +++ b/sandbox/OpenIddict.Sandbox.AspNet.Client/Controllers/AuthenticationController.cs @@ -175,9 +175,9 @@ namespace OpenIddict.Sandbox.AspNet.Client.Controllers // in the cookie can be filtered out or mapped to different names depending the claim name or its issuer. var claims = result.Identity.Claims.Where(claim => claim.Type is ClaimTypes.NameIdentifier or ClaimTypes.Name // - // Preserve the registration identifier to be able to resolve it later. + // Preserve the registration details to be able to resolve them later. // - or Claims.Private.RegistrationId + or Claims.Private.RegistrationId or Claims.Private.ProviderName // // The ASP.NET 4.x antiforgery module requires preserving the "identityprovider" claim. // diff --git a/sandbox/OpenIddict.Sandbox.AspNet.Client/Views/Home/Index.cshtml b/sandbox/OpenIddict.Sandbox.AspNet.Client/Views/Home/Index.cshtml index 1f344fe1..5eb4f587 100644 --- a/sandbox/OpenIddict.Sandbox.AspNet.Client/Views/Home/Index.cshtml +++ b/sandbox/OpenIddict.Sandbox.AspNet.Client/Views/Home/Index.cshtml @@ -2,6 +2,7 @@ @using Microsoft.Owin @using Microsoft.Owin.Security @using Microsoft.Owin.Security.Cookies +@using OpenIddict.Abstractions @using OpenIddict.Client.Owin @model string @@ -22,8 +23,7 @@