The universal login takes a lot of of time > 10 seconds when users have not interacted with the website in a while. I have a custom action that is executed post login but based on the logs the delay doesn’t seem to be due to the custom action.
Here’s the info for the custom action which makes an api request post login:
"stats": {
"total_request_duration_ms": 436,
"total_runtime_execution_duration_ms": 433,
"runtime_processing_duration_ms": 9,
"action_duration_ms": 361,
"runtime_external_call_duration_ms": 63,
"boot_duration_ms": 72,
"network_duration_ms": 3
}
Here’s the info for the login flow:
"completedAt": 1724884310520,
"elapsedTime": 11306,
"flow": "universal-login",
"initiatedAt": 1724884299214,
"name": "login",
"timers": {
"rules": 482
},