hyperswitch
hyperswitch copied to clipboard
Modify User-related Redis Operations to Use Global Tenant Prefix
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