server: short-lived bearer tokens without a sign-in provider

オープン
#485 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cli, javascript

調査の方向性

Start by reading how the server handles static bearer tokens from auth.tokens for REST and MCP, and how the pivotkit-server CLI is structured. The issue proposes a CLI for creating expiring tokens but leaves key storage, rotation, revocation, protocol support, logging, and limits open. First settle those design questions; done means the token lifecycle and acceptance behavior are defined and tested.

索引モデルが issue の本文から書いたものです。

説明

area:server enhancement

Without a sign-in provider, REST and MCP use static bearer tokens (auth.tokens, from a variable or a file, one profile each). That covers many setups (a read-only token per client), but the token never expires and the operator has to create and hand it out by hand.

Idea: let the operator issue short-lived tokens without an identity provider, e.g. pivotkit-server token create --profile <name> --expires 1h signed with a server key, checked like a static token but with an expiry, optionally named for the log. A token page in a web UI would need a signed-in person, which is what a sign-in provider gives, so the CLI path comes first.

Questions to settle before building: key storage and rotation, revoking a token before it expires, whether REST and MCP both accept it, and how it shows in logs and limits.

主要言語
JavaScript
スター
1
フォーク
1
平均マージ
3時間 34分
マージ済み PR(30日)
213

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eizedev/pivotkit のほかの issue

eizedev/pivotkit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。