Explain why nonce is optional now

Co-authored-by: reivilibre <oliverw@element.io>
This commit is contained in:
Quentin Gliechandreivilibre authored and GitHub committed 2025-05-07 18:50:38 +02:00
1 parent 632904a7ae
commit def20930bf
1 file changed
+1
@@ -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.