[Bug]: Github OAuth Console errors too quickly
维护者通常 1 天内回复
@dopey 已经在做这个了。
开始于 2024年12月17日。
评估
这个 Issue 还没有评估数据。
描述
Steps to Reproduce
$ step oauth --provider github --client-id ${github-app-client-id} --console
Your Environment
- OS - Fedora 40
stepCLI Version -
Smallstep CLI/0.28.2 (linux/amd64)
Release Date: 2024-11-20T19:14:16Z
Expected Behavior
The CLI to not error and wait an appropriate amount of time
Actual Behavior
$ step oauth --provider github --client-id ${github-app-client-id} --console
Visit https://github.com/login/device and enter the code:
5008-218F
{
"access_token": "",
"id_token": "",
"refresh_token": "",
"expires_in": 0,
"token_type": "",
"error": "authorization_pending",
"error_description": "The authorization request is still pending."
}
This returns after 5 seconds, which isn't enough time to open the browser and enter the code.
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
- 主要语言
- Go
- 星标
- 4.3k
- 派生
- 320
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
smallstep/cli 的其他 Issue
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
enhancement needs triage
难度 4/5 3-5 天 新手友好度 32/100
维护者通常 1 天内回复
-
enhancement needs triage
难度 3/5 1-2 天 新手友好度 57/100
smallstep/cli#1713 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement needs triage
难度 4/5 3-5 天 新手友好度 35/100
smallstep/cli#1710 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline edits可能已有人在做 @vulragrag-star 于 51 天前认领。 未关闭bug needs triage
难度 4/5 3-5 天 新手友好度 20/100
smallstep/cli#1705 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
agent-butler-finding bug
难度 2/5 1-3 小时 新手友好度 82/100
jordansmall/spindrift#6414 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Icinga/icinga-kubernetes#294 ·
维护者通常 4 天内回复
-
kind/design sig/ui
难度 1/5 1 小时以内 新手友好度 92/100
kubermatic/dashboard#8449 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
cli/cli#14962 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
model-drift
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复