optional claims

This commit is contained in:
Paul Zinselmeyer 2023-08-27 23:19:20 +02:00
parent 66fac9d185
commit 924416149c

View file

@ -131,11 +131,11 @@ pub struct Claims {
pub sub: String,
pub azp: String,
pub name: String,
pub preferred_username: String,
pub given_name: String,
pub family_name: String,
pub email: String,
pub name: Option<String>,
pub preferred_username: Option<String>,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub email: Option<String>,
}
async fn extract_token(