change la destination des clameurs
This commit is contained in:
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…
Add table
Add a link
Reference in a new issue