server: token list, token remove, and an expiry for static tokens

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript

調査の方向性

Start by locating the pivotkit-server token new and token show command implementations, the auth.tokens handling, and the server's token validation and check-config paths. Add listing and removal with the requested backup behavior, support optional expiry for static tokens, and ensure expired tokens are refused with 401 and check-config warns a week ahead. Done means these behaviors work while token values are never shown; signed short-lived tokens are tracked separately in #485.

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

説明

area:server enhancement

pivotkit-server token new and token show exist since 0.7.0, and the server creates admin at first start. I also want token list (name, source, profile, scopes, created, expires; never a value) and token remove <name> (removes the entry from auth.tokens with a backup, and the file when the server created it). A static entry should take an optional expires (a date): the server refuses it with 401 afterwards and check-config warns a week ahead. Signed short-lived tokens stay in #485.

主要言語
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 を短くまとめたダイジェスト。