Skip serialization if not provided client_name

This commit is contained in:
Adis Veletanlic
2025-04-16 12:58:55 +02:00
parent 5f2fbe6a14
commit cae3edbc54

View File

@@ -80,6 +80,7 @@ pub struct ClientConfig {
client_auth_method: ClientAuthMethodConfig,
/// Name of the OAuth2 client
#[serde(skip_serializing_if = "Option::is_none")]
pub client_name: Option<String>,
/// The client secret, used by the `client_secret_basic`,