Skip to content

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

Description

@github-product-ops

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Copilot EnterpriseProduct SKU: Copilot EnterpriseCopilot for BusinessProduct SKU: Copilot for BusinessCopilot for IndividualsProduct SKU: Copilot for IndividualsEnterpriseProduct SKU: GitHub EnterpriseFreeProduct SKU: GitHub FreeGHES 3.23GHES 3.23TeamProduct SKU: GitHub Team

    Type

    No type

    Projects

    Status
    Up Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions