OAuth apps can opt in to token expiration and refresh [Public Preview]

未关闭
#1,305 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
github

调研方向

这是 GitHub 公共路线图中的功能提案,没有指定任何仓库文件、测试或实现入口。首先查看 issue 中关于 OAuth app token 轮换的要求;完成标准是现有 app 可以选择加入,新 app 默认启用该功能,access token 在 8 小时后过期,并且 refresh token 轮换会使之前的 token 失效。

由索引模型根据 Issue 内容生成。

描述

Copilot Enterprise Copilot for Business Copilot for Individuals Enterprise Free GHES 3.23 Shipped Team
Value Prop

OAuth apps can now perform token rotation using short-lived access tokens and refresh tokens, giving developers a straightforward way to meet security standards and eliminating a source of long-lived tokens. This feature is opt-in for existing OAuth apps and on by default for newly created ones, so app developers can test and roll it out safely.

Expected Outcome

Rotating OAuth tokens regularly limits the window of exposure if a token is ever compromised — any previously exfiltrated token becomes invalid upon rotation. They also expire after 8 hours, the same as GitHub App user tokens. Developers building OAuth apps will be able to satisfy security policies that require credential rotation.

主要语言
没有语言数据
星标
8.9k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/roadmap 的其他 Issue

查看 github/roadmap 的全部 Issue

相似的 Issue

更多 Security Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。