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

OAuth2 consent page: unbounded scope list can push the approval buttons off-screen

オープン 初心者向け
#28,451 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
半日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
css, html
領域
frontend

調査の方向性

site/static/oauth2allow.html を開き、#scope-list、body、.container を調べます。現実的な最小ウィンドウ高で scope-list の長さを増やしながら同意ページをレンダリングし、ボタンがビューポートから外れるタイミングを特定します。完了の条件は、交渉されたすべてのスコープが表示されたままで、リストを切り詰めることなくスクロールによって Allow ボタンと Cancel ボタンに到達できることです。

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

説明

Raised as CRF-10 in the round-3 review of #28179, deliberately deferred rather than fixed there.

site/static/oauth2allow.html renders the negotiated scope as #scope-list, which has no upper bound on length. body flex-centers .container inside a viewport-height parent with align-items: center, and .container has no overflow-y: auto. A grant with enough scope names could therefore push the Allow and Cancel buttons below the fold, on the one page where the user has to be able to reach them.

Unverified by rendering. The reviewer reasoned from the stylesheet rather than from a screenshot, so the first step is to establish at what list length (if any) the buttons actually leave the viewport, at a realistic minimum window height.

If it does reproduce, the fix is a scroll container on the list or on .container rather than a cap on the number of scopes shown: truncating the list on a consent page would hide permissions the user is being asked to approve, which is worse than scrolling.

Related: #28179, and CRF-3 (scope names carry no user-facing description) which touches the same block.

Refs PLAT-479.

主要言語
Go
スター
16.6k
フォーク
1.6k
平均マージ
1日 23時間
マージ済み PR(30日)
543

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

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

はじめの一歩

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

coder/coder のほかの issue

coder/coder の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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