From fe88bf431cfdd2753b305d245f3b1f8dffb6a632 Mon Sep 17 00:00:00 2001 From: bain Date: Fri, 5 Jul 2024 15:09:50 +0200 Subject: [PATCH] add name to claims --- src/accounts.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/accounts.rs b/src/accounts.rs index 2172e2c..8a04842 100644 --- a/src/accounts.rs +++ b/src/accounts.rs @@ -150,6 +150,7 @@ pub fn create_id_token_claims( "aud": client_id, "exp": now + crate::TOKEN_EXPIRATION, "iat": now, + "name": adjective.to_owned()+animal, "given_name": animal, "family_name": adjective, "email": mangle("email")[..24].to_owned()+"@email.invalid",