Decode extracted gpcallback

This commit is contained in:
Kevin Yue
2024-04-05 18:01:09 +08:00
parent c347f97b95
commit 8446874290
4 changed files with 36 additions and 9 deletions

View File

@@ -66,7 +66,7 @@ impl SamlAuthData {
let auth_data = data.trim_start_matches("globalprotectcallback:");
if auth_data.starts_with("cas-as") {
info!("Got token auth data: {}", auth_data);
info!("Got CAS auth data from globalprotectcallback");
let auth_data: SamlAuthData = serde_urlencoded::from_str(auth_data).map_err(|e| {
warn!("Failed to parse token auth data: {}", e);