Handle missing issuer claim for GitHub JWT
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- elixir, github
- 領域
- api, authentication, backend
調査の方向性
GitHub アプリケーションの認証情報を integrations token と交換するコードを特定し、必要な環境変数がない場合の失敗を再現してください。欠落している 'issuer' claim を含む APIError を追跡し、結果のメッセージで不足している JWT 設定を説明するようにしてください。このケースで未処理の MatchError が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
code-corps/code-corps-api のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
code-corps/code-corps-api#1385 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
code-corps/code-corps-api#1384 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
code-corps/code-corps-api#1383 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
code-corps/code-corps-api#1382 · コメント 2 件 ·
-
Difficulty: Medium Skill: Elixir Time: 4 hours
code-corps/code-corps-api#1372 · コメント 3 件 · 担当者 1 名 ·
code-corps/code-corps-api の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
agentjido/jido_harness#80 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sevenseacat/cinder#235 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
phoenixframework/phoenix#6847 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100