Skip to content

fix: update Gofile website token generation#2260

Merged
chubbygrannychaser merged 2 commits into
mainfrom
fix/LBX-753
May 26, 2026
Merged

fix: update Gofile website token generation#2260
chubbygrannychaser merged 2 commits into
mainfrom
fix/LBX-753

Conversation

@chubbygrannychaser
Copy link
Copy Markdown
Contributor

Summary

  • Load the current Gofile website token secret from Gofile's WT script instead of using a stale hardcoded value.
  • Cache the loaded secret and await website-token generation for guest token creation and content requests.
  • Treat not-premium/denied-access responses as guest-token auth failures so they can refresh once.

Tests

  • npm run typecheck:node
  • npx eslint src/main/services/hosters/gofile.ts
  • pre-push hook: eslint . --fix (warnings only), typecheck:node, typecheck:web

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@chubbygrannychaser chubbygrannychaser merged commit 5049cc3 into main May 26, 2026
2 of 9 checks passed
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