You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Update crates/data-model/src/oauth2/authorization_grant.rs
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
This commit is contained in:
@@ -59,7 +59,7 @@ impl Pkce {
|
|||||||
return Err(PkceVerificationError::TooShort);
|
return Err(PkceVerificationError::TooShort);
|
||||||
}
|
}
|
||||||
|
|
||||||
if verifier.len() > 43 {
|
if verifier.len() > 128 {
|
||||||
return Err(PkceVerificationError::TooLong);
|
return Err(PkceVerificationError::TooLong);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user