Explain why nonce is optional now

Co-authored-by: reivilibre <oliverw@element.io>
This commit is contained in:
Quentin Gliech
2025-05-07 18:50:38 +02:00
committed by GitHub
parent 4d0bce9382
commit d797a5b14d

View File

@@ -191,6 +191,7 @@ pub struct AuthorizationValidationData {
pub state: String,
/// A string to mitigate replay attacks.
/// Used when the `openid` scope is set (and therefore we are using OpenID Connect).
pub nonce: Option<String>,
/// The URI where the end-user will be redirected after authorization.