GitHub Enhances OAuth Apps with Expiring Tokens and Flexible Redirect URIs
GitHub has rolled out multiple updates to its OAuth app and GitHub App platforms, enhancing security and developer flexibility. OAuth apps can now opt into using short-lived access tokens paired with refresh tokens, improving token rotation practices and secure development. Additionally, OAuth apps can register up to 10 redirect URIs, simplifying multi-environment deployments without separate app registrations. Both GitHub Apps and OAuth apps can also enable wildcard matching for redirect URIs, offering flexibility for related sites, though caution is advised. These improvements will be included in GitHub Enterprise Server 3.23.
- →Support for expiring access tokens and refresh tokens
- →Multiple redirect URIs for OAuth applications
- →Wildcard matching for redirect URIs
Features (1) ›
- Support for expiring access tokens and refresh tokens
OAuth apps can now request short-lived access tokens (8 hours) with refresh tokens (6 months). This pattern, enabled by the `offline_access` scope or app registration settings, is the default for new applications and enhances token rotation security.
Enhancements (2) ›
- Multiple redirect URIs for OAuth applications
OAuth apps can now register up to 10 callback URIs, streamlining support for various environments, domains, or deployment configurations. This eliminates the need for creating separate apps for each distinct URL.
- Wildcard matching for redirect URIs
Both GitHub Apps and OAuth apps can now enable wildcard matching for individual redirect URIs, supporting redirection to multiple related sites like tenanted subdomains. Users should review app architecture to prevent abuse, especially with user-hosted content.
https://github.blog/changelog/2026-08-14-multiple-redirect-uris-and-token-refresh-for-oauth-apps
Related releases
- GitHub improves tools for managing blocked users GitHub Changelog ·
- Shared agentic work with GitHub Copilot in Microsoft Teams GitHub Changelog ·
- GitHub Copilot Integrates with Slack for Agentic Development Workflows GitHub Changelog ·
- GitHub's Issues Sidebar Now Supports Pinned Views, Plus Other Enhancements GitHub Changelog ·
- Windows 11 ARM64 VS2026 image generally available for GitHub Actions GitHub Changelog ·
- Code scanning adds a mitigated alert dismissal reason GitHub Changelog ·