[SKY-7980] Patch Credential TOTP Over Webhook Logic (#4811)

This commit is contained in:
Aaron Perez
2026-02-19 18:14:44 -05:00
committed by GitHub
parent f80451f37a
commit f8f9d2a17f
4 changed files with 154 additions and 4 deletions

View File

@@ -916,7 +916,7 @@ async def generate_cua_fallback_actions(
# Try credential TOTP first (highest priority, doesn't need totp_url/totp_identifier)
otp_value = try_generate_totp_from_credential(task.workflow_run_id)
# Fall back to webhook/totp_identifier
if not otp_value and (task.totp_verification_url or task.totp_identifier) and task.organization_id:
if not otp_value and task.organization_id:
LOG.info(
"Getting verification code for CUA",
task_id=task.task_id,