Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta Para iniciantes
#28,451 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
Meio dia
Facilidade para iniciantes
68/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
css, html
Domínio
frontend

Direção de pesquisa

Abra site/static/oauth2allow.html e inspecione #scope-list, body e .container. Renderize a página de consentimento com comprimentos crescentes de scope-list em uma altura mínima de janela realista para identificar quando os botões saem da viewport. Considera-se concluído quando todos os scopes negociados permanecem visíveis e os botões Allow e Cancel continuam acessíveis por rolagem sem truncar a lista.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Go
Estrelas
16.6k
Forks
1.6k
Merge médio
1d 23h
PRs com merge (30d)
543

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de coder/coder

Todas as issues de coder/coder

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.