mirror of
https://git.nolog.cz/NoLog.cz/anon.git
synced 2025-01-31 05:03:35 +01:00
add name to claims
This commit is contained in:
parent
f2b028e9d0
commit
fe88bf431c
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ pub fn create_id_token_claims(
|
||||||
"aud": client_id,
|
"aud": client_id,
|
||||||
"exp": now + crate::TOKEN_EXPIRATION,
|
"exp": now + crate::TOKEN_EXPIRATION,
|
||||||
"iat": now,
|
"iat": now,
|
||||||
|
"name": adjective.to_owned()+animal,
|
||||||
"given_name": animal,
|
"given_name": animal,
|
||||||
"family_name": adjective,
|
"family_name": adjective,
|
||||||
"email": mangle("email")[..24].to_owned()+"@email.invalid",
|
"email": mangle("email")[..24].to_owned()+"@email.invalid",
|
||||||
|
|
Loading…
Reference in a new issue