fast-zoo-8944
03/14/2025, 9:05 AM<http://url.com/a|url.com/a>
, when they visit <http://url.com|url.com>
, we redirect them to <http://url.com/a|url.com/a>
. Before redirecting, we check whether the user has access to the page using a feature flag (which relies on an attribute passed via a force rule).
The problem is that at the time of this check, we don’t get the actual value. We assumed that the initial feature load would provide the correct values immediately, but the forced value—based on the attribute—loads later. By then, we’ve already made the access decision.
We've tried timeouts, conditional loading with growthbook.ready
, and other approaches, but nothing seems to work.
Is there a workaround for this?fresh-football-47124
fresh-football-47124
fast-zoo-8944
03/14/2025, 9:08 AMfast-zoo-8944
03/14/2025, 9:11 AMfast-zoo-8944
03/14/2025, 9:12 AMfresh-football-47124
fresh-football-47124
fast-zoo-8944
03/14/2025, 9:29 AMfast-zoo-8944
03/14/2025, 9:31 AMfast-zoo-8944
03/14/2025, 9:36 AMfresh-football-47124
fast-zoo-8944
03/14/2025, 9:37 AMfresh-football-47124
fast-zoo-8944
03/14/2025, 9:41 AM