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