fix: Cleanup temporary file after feeding auth data

Related: #366
This commit is contained in:
Kevin Yue
2024-06-11 22:20:49 +08:00
parent a25b5cb894
commit 54d4f2ec57
3 changed files with 22 additions and 11 deletions

View File

@@ -70,6 +70,7 @@ impl SamlAuthData {
let auth_data: SamlAuthData = serde_urlencoded::from_str(auth_data).map_err(|e| {
warn!("Failed to parse token auth data: {}", e);
warn!("Auth data: {}", auth_data);
AuthDataParseError::Invalid
})?;