Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Handle missing issuer claim for GitHub JWT

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
elixir, github

調査の方向性

GitHub アプリケーションの認証情報を integrations token と交換するコードを特定し、必要な環境変数がない場合の失敗を再現してください。欠落している 'issuer' claim を含む APIError を追跡し、結果のメッセージで不足している JWT 設定を説明するようにしてください。このケースで未処理の MatchError が発生しなくなれば完了です。

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

説明

Priority: Low

Problem

If we're lacking the proper ENV variables for getting an integrations token, we'll get the following for code that tries to exchange our application credentials for a token:

(MatchError) no match of right hand side value: {:error, %CodeCorps.GitHub.APIError{documentation_url: "https://developer.github.com/v3", errors: nil, message: "Missing 'issuer' claim ('iss') in assertion", status_code: 401}}

We should handle this error more directly by explaining what's happening here (i.e. you're missing some configuration that makes JWT work).

主要言語
Elixir
スター
234
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

code-corps/code-corps-api のほかの issue

code-corps/code-corps-api の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

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

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