Skip to content

Token Board: no built-in dashboard token, read it from config.json - #52

Merged
juwpegatron merged 1 commit into
mainfrom
security/token-board-config-token
Nov 27, 2026
Merged

juwpegatron merged 1 commit into
mainfrom
security/token-board-config-token

Conversation

@juwpegatron

Copy link
Copy Markdown
Collaborator

What

pips/token_board.py had a dashboard access token as a built-in default. The default is now empty, and the token is read only from token_board.dashboard_token in config.json (the key was already supported).

With no token set, query_user_panel raises a clear RuntimeError ("token_board.dashboard_token is not set in config.json"), which the window already shows like any other fetch failure.

Checked

  • The file parses (ast.parse), 2 small edits, nothing else in the file changed.
  • The old value is no longer in the file. It is still in the git history, so the token itself should be regenerated by the dashboard owner.

Not changed

  • The default host in this file was already a placeholder, so the company part of the board did not work from this repo before either.

The dashboard access token now comes only from token_board.dashboard_token in
config.json. With no token set, the board says so instead of calling the dashboard.
@juwpegatron
juwpegatron merged commit b350584 into main Nov 27, 2026
2 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