Skip to content

Conversation

@cspath1
Copy link
Contributor

@cspath1 cspath1 commented Dec 4, 2025

Description

When a user authenticates, update the internal client context to have the memberId + accountId we get back from the server. See the MoMI PR (link coming soon) for info as well, as that needs merged in before this. Oh yea, there was also this pesky api call bug we had been dealing with for a while that has been fixed now.

What does this PR do?

Updates the internal client context to be based around the authenticated user (memberId and accountId). This allows a few things:

  • We know who is using the toolbar now
  • We can have targeted evaluations for features flags (meaning we can do progressive/guarded rollouts for new features)

Testing
See the testing steps in the MoMI PR and make sure that's all squared away. After logging in to the toolbar, navigate to the toolbar project in LaunchDarkly (message me if you are unsure where this is). Go to one of the flags for that project (one you know will be evaluated easily), and update it to have individual targeting for your account info. Save that, and the change should reflect in the toolbar when you refresh your page!

Type of Change

  • New feature (non-breaking change that adds functionality)

Related Jira issue: REL-11096: Add authenticated Context to internal toolbar client

@cspath1 cspath1 requested review from a team and pranjal-jately-ld as code owners December 4, 2025 18:42
Copy link
Contributor

@pranjal-jately-ld pranjal-jately-ld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done 💅 @cspath1

@cspath1 cspath1 merged commit d61e53b into main Dec 9, 2025
4 checks passed
@cspath1 cspath1 deleted the cspath/REL-11096-auth-toolbar-context branch December 9, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants