Skip to content

update auth token storage (#40504)#40612

Merged
ghernandez345 merged 1 commit intorc-minor-fleet-v4.82.0from
chore-cp-update-token-storage
Feb 26, 2026
Merged

update auth token storage (#40504)#40612
ghernandez345 merged 1 commit intorc-minor-fleet-v4.82.0from
chore-cp-update-token-storage

Conversation

@ghernandez345
Copy link
Copy Markdown
Contributor

@ghernandez345 ghernandez345 commented Feb 26, 2026

Resolves https://github.com/fleetdm/confidential/issues/14401

this is cherry pick PR

Checklist for submitter

  • Changes file added for user-visible changes in changes/,
    orbit/changes/ or ee/fleetd-chrome/changes.
  • QA'd all new/changed functionality manually

**Related issue:** Resolves #14401

# Checklist for submitter

this updates the mechanism of storing the auth token for a user that is
used for making requests and validating a user session. We change the
storage from local storage to a cookie. This allow a bit more security
and prepares for a future change where we will allow the browser to
handle setting and passing the auth token in the request.


- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] QA'd all new/changed functionality manually
@ghernandez345 ghernandez345 merged commit b37078b into rc-minor-fleet-v4.82.0 Feb 26, 2026
6 checks passed
@ghernandez345 ghernandez345 deleted the chore-cp-update-token-storage branch February 26, 2026 17:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 26, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.82.0@b67ac38). Learn more about missing BASE report.

Files with missing lines Patch % Lines
frontend/utilities/auth_token/index.ts 66.66% 2 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.82.0   #40612   +/-   ##
=========================================================
  Coverage                          ?   66.34%           
=========================================================
  Files                             ?     2453           
  Lines                             ?   196248           
  Branches                          ?     8731           
=========================================================
  Hits                              ?   130205           
  Misses                            ?    54247           
  Partials                          ?    11796           
Flag Coverage Δ
frontend 54.15% <66.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants