Skip to content

429 Too many requests: Concurrent signOut. #1576

@sorozco653

Description

@sorozco653

Describe the bug

I am trying to debug a 429 issue that we are currently facing. Our users typically have many tabs open, and if they have more than six tabs, we get rate-limited when they signOut due to too many concurrent requests.

As a result, we had to disable syncStorage to mitigate the 429 errors. However, this has led to a token request being sent from each tab. What is the best way to handle SSO logout when multiple tabs are open, without getting rate-limited, while keeping syncStorage enabled?

We use localStorage for our storage manager and auto renew enabled

Reproduction Steps?

  1. Open many tabs (6+)
  2. signOut of the application
  3. The six tab gets rate limited

SDK Versions

"@okta/okta-angular": "^6.4.0",
"@okta/okta-auth-js": "^7.10.1",

Additional Information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions