Skip to content

HOTFIX - Update token retrieval to use tcjwt cookie directly#7184

Merged
kkartunov merged 1 commit intomasterfrom
hotfix-cookie-auth
Feb 26, 2026
Merged

HOTFIX - Update token retrieval to use tcjwt cookie directly#7184
kkartunov merged 1 commit intomasterfrom
hotfix-cookie-auth

Conversation

@kkartunov
Copy link
Collaborator

No description provided.

@kkartunov kkartunov requested a review from jmgasper as a code owner February 26, 2026 11:59
@kkartunov kkartunov merged commit f33cdb7 into master Feb 26, 2026
5 of 6 checks passed
const authToken = cookies.tcjwt || cookies.tcJwt;
let tokenV2 = authToken;
let tokenV3 = authToken;
let tokenV2 = cookies.tcjwt;

Choose a reason for hiding this comment

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

[❗❗ correctness]
The change from authToken to cookies.tcjwt for tokenV2 and tokenV3 assumes that cookies.tcjwt is always the correct token to use. If cookies.tcJwt is still valid in some environments, this change might break functionality. Consider verifying that cookies.tcjwt is the correct and only source for both tokens in all environments.

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.

1 participant