We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcdf68b commit 2b36d50Copy full SHA for 2b36d50
crates/common/src/auth/oauth/oidc.rs
@@ -92,6 +92,10 @@ pub struct StandardClaims {
92
#[serde(skip_serializing_if = "Option::is_none")]
93
#[serde(default)]
94
pub email: Option<String>,
95
+
96
+ #[serde(skip_serializing_if = "Option::is_none")]
97
+ #[serde(default)]
98
+ pub description: Option<String>,
99
}
100
101
impl Server {
crates/http/src/auth/oauth/token.rs
@@ -329,6 +329,7 @@ impl TokenHandler for Server {
329
nonce,
330
preferred_username: access_token.name.clone().into(),
331
email: access_token.emails.first().cloned(),
332
+ description: access_token.description.clone().into(),
333
},
334
) {
335
Ok(id_token) => Some(id_token),
0 commit comments