Flagsmith / Flagsmith/flagsmith

Real-time flags - hashed identity updates

Open
#1,420 1 comment 0 reactions 0 assignees View on GitHub
edge-api feature
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

If the state of an Identity changes, we want to send a message to that specific identity to refresh their flags. The issue is that we only have environment level granularity with SSE messages.

Proposed solution is to send a hashed identity string to all of the connected clients for that environment. They then check to see if it matches their own hash calculation. If it matches, they refresh their flags. This obfuscates the identities to other clients.

Trigger this whenever an identity state change takes place.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.