Skip to content

Commit

Permalink
Fix deserialization of optional ClientRegistrationResponse fields (#66
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sunli829 authored Mar 4, 2022
1 parent d5cf0ae commit c48b7c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/registration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,14 @@ where
registration_client_uri: Option<ClientConfigUrl>,
#[serde(
skip_serializing_if = "Option::is_none",
with = "serde_utc_seconds_opt"
with = "serde_utc_seconds_opt",
default
)]
client_id_issued_at: Option<DateTime<Utc>>,
#[serde(
skip_serializing_if = "Option::is_none",
with = "serde_utc_seconds_opt"
with = "serde_utc_seconds_opt",
default
)]
client_secret_expires_at: Option<DateTime<Utc>>,
#[serde(bound = "AC: AdditionalClientMetadata", flatten)]
Expand Down

0 comments on commit c48b7c0

Please sign in to comment.