Skip to content

Commit

Permalink
Add auth_time claim to tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Nov 29, 2023
1 parent 8202b9b commit 71723ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ pub async fn create_jwt(
"iss": &app.public_url,
"sub": email_addr.as_str(),
"nonce": nonce,
"auth_time": now.as_secs(),
}),
signing_alg,
})
Expand Down

0 comments on commit 71723ab

Please sign in to comment.