Skip to content

Commit 298fcb4

Browse files
committed
Downgrade samael
1 parent 5fc961a commit 298fcb4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ opentelemetry-semantic-conventions = { version = "0.30", optional = true }
361361
opentelemetry_sdk = { version = "0.30", features = ["rt-tokio", "logs"], optional = true }
362362
redis = { version = "0.32.7", features = ["aio", "tokio-comp", "cluster-async"], optional = true }
363363
rust-embed = { version = "8", features = ["mime-guess", "include-exclude"], optional = true }
364-
samael = { version = "0.0.20", optional = true }
364+
samael = { version = "0.0.19", optional = true }
365365
schemars = { version = "0.8", optional = true }
366366
sqlx = { version = "0.8", features = ["runtime-tokio", "uuid", "chrono", "rust_decimal", "migrate", "json"], optional = true }
367367
tiktoken-rs = { version = "0.9.1", optional = true }

src/auth/saml.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl SamlAuthenticator {
257257
let url = if self.config.sign_requests {
258258
let private_key = self.load_private_key()?;
259259
authn_request
260-
.signed_redirect(&relay_state, &private_key)
260+
.signed_redirect(&relay_state, private_key)
261261
.map_err(|e| AuthError::Internal(format!("Failed to sign AuthnRequest: {}", e)))?
262262
.ok_or_else(|| AuthError::Internal("AuthnRequest has no destination".to_string()))?
263263
} else {

0 commit comments

Comments
 (0)