Performance Issue in Login Flow

Overview

This article explains common causes for slow performance during the login flow and provides steps to troubleshoot these issues.

Applies To

  • Performance Issues

Cause

Various factors can impact the performance or the turnaround time of the login flow. The well-known factors include:

  • Actions
    • If an Action executes time-consuming code (e.g., an external API request), it can create a bottleneck.
  • Network environment
    • An end user’s network environment can create a delay in the turnaround time. If the network log shows long response times across different resources, including the external Identity Provider (IdP) or the application itself, the issue likely originates from the network environment.
  • Outage
    • An ongoing outage or incident on the status page can lead to performance degradation. However, an outage typically results in a complete failure in the login flow, not a performance issue.

Solution

  • Actions
    • Fine-tune the Action codes to remove the bottleneck.
  • Network environment
    • Guide the end user to use a more stable and faster internet connection.
  • Outage
    • This type of performance issue typically resolves with the outage. Monitor the status page for the current situation.