Method ComputeJwkThumbprint(JsonWebKey)
Computes the RFC 7638 JWK SHA-256 thumbprint, base64url-encoded.
Microsoft.IdentityModel exposes
returning raw bytes; we base64url-encode without padding per RFC 7515.
public static string ComputeJwkThumbprint(JsonWebKey jwk)