hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

Modify User-related Redis Operations to Use Global Tenant Prefix

Open tsdk02 opened this issue 7 months ago • 0 comments

Currently, user-related data in Redis (such as SSO IDs, TOTP codes, email token blacklists, lineage_context etc.) is using tenant-specific prefixes like public: or public_v2:. This causes issues when users use different versions or environments (v1, v2), leading to inconsistency in fetching and setting Redis keys.

The correct prefix for all global user-related data should be global:.

Affected Areas

  • Blacklisting
  • Two-factor Authentication (TOTP, Recovery Codes)
  • SSO ID storage
  • OpenID Connect (OIDC) token handling
  • Role Info Caching
  • Lineage Context

tsdk02 avatar Apr 29 '25 10:04 tsdk02