change la destination des clameurs

main
Paul Schneider 10 years ago
parent 80a8d25deb
commit da9815145a
1 changed files with 2 additions and 3 deletions

@ -240,9 +240,8 @@ namespace Yavsc.Controllers
// The other claims won't be visible for the client application.
if (claim.Type == ClaimTypes.Name) {
claim.WithDestination(OpenIdConnectConstants.TokenTypes.Bearer);
claim.WithDestination( "code");
claim.WithDestination("id_token");
claim.WithDestination( "id_token" );
claim.WithDestination( "access_token" );
}
identity.AddClaim(claim);

Loading…