A reflected cross-site scripting issue exists in the unauthenticated '/sso/debug/callback' endpoint. The application reflects identity-provider fields into an inline script block using `json.dumps` without performing HTML escaping. An attacker with an identity provider account can manipulate a claim, such as a display name, to include `</script>` tags. By completing the SSO flow and tricking a proxy administrator into visiting the callback URL, the attacker can steal session cookies and achieve account takeover.