Implement Authentication tokens for the git client

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

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

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

評価

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

調査の方向性

この issue にはファイル、テスト、エントリポイントが記載されていません。まず GitProxy UI のアカウントページと、Clone、Pull、Push リクエストを処理するプロキシのパスを特定し、ユーザーとリポジトリの認可がどのように表現されているかを追跡してください。完了条件は、ユーザーがトークンを取得し、それを git client で使用して、プロキシに Git 認証情報を保存することなく、対象の Git server に対して透過的に認証された状態を維持できることです。

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

説明

enhancement protocol

The developers git client uses the target GIT servers authentication/authorization mechanism - and this is pass-through/transparent to the proxy.

  • We need to tie the developer making a 'push' or 'pull' with a GitProxy user (which ties to the corporate account)
  • We cannot interfere with the authentication with the target git-server (i.e. GitHub)
  • We do not want to hold Git credentials for the user

Therefore a Proxy user will be issued a token -

Getting a Token before working with the proxy through a git client

  1. The developer logs into the GitProxy UI, navigates to their account page
  2. The user enacts 'get token' - this reveals a token to the user. e.g. abc12345
  3. Through the users git-client the user will run (replace finos/git-proxy.git with the repo they want to work with)
git remote add origin https://[email protected]/finos/git-proxy.git

When Clone, Pull, Push requests are made through the proxy, the proxy will take the token and tie that to the git-proxy user. The proxy will then check that the token is valid and the user is allowed to work with the repository.

主要言語
TypeScript
スター
263
フォーク
185
平均マージ
2日 15時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

finos/git-proxy のほかの issue

finos/git-proxy の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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