diff --git a/src/models.rs b/src/models.rs index 9a48390..47e0414 100644 --- a/src/models.rs +++ b/src/models.rs @@ -78,6 +78,10 @@ pub struct AppMetadata { #[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Default)] pub struct UserMetadata { + #[serde(skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub full_name: Option, #[serde(skip_serializing_if = "Option::is_none")] pub email: Option, #[serde(skip_serializing_if = "Option::is_none")] @@ -85,7 +89,9 @@ pub struct UserMetadata { #[serde(skip_serializing_if = "Option::is_none")] pub phone_verified: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub sub: Option, + pub picture: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub avatar_url: Option, } #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]