<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.18.0" />

Microsoft.IdentityModel.Tokens.AppCompatSwitches

public static class AppCompatSwitches
Identifiers used for switching between different app compat behaviors within the Microsoft.IdentityModel libraries.
public const string UseRfcDefinitionOfEpkAndKid = "Switch.Microsoft.IdentityModel.UseRfcDefinitionOfEpkAndKid"

Uses KeyExchangePublicKey for the token's `kid` header parameter. When using ECDH-based key wrap algorithms the public key portion of Key is also written to the token's `epk` header parameter.