# GitHub Apps can now use the client ID to fetch installation tokens

DevFeed: [GitHub Apps can now use the client ID to fetch installation tokens](<https://devfeed.tech/articles/github-apps-can-now-use-the-client-id-to-fetch-installation-tokens-73123.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2024-05-01-github-apps-can-now-use-the-client-id-to-fetch-installation-tokens>)

Author: Kevin Duck

Published: 2024-05-02T00:33:48Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [GitHub](<https://devfeed.tech/topics/github.md>), [Secure token management](<https://devfeed.tech/topics/secure-token-management.md>), [Server-side vs Client-side OAuth2 Flows](<https://devfeed.tech/topics/server-side-vs-client-side-oauth2-flows.md>)

Tags: [github-apps](<https://devfeed.tech/tags/github-apps.md>), [installation](<https://devfeed.tech/tags/installation.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [oauth](<https://devfeed.tech/tags/oauth.md>)

## AI overview

GitHub Apps can now use their client ID as the JWT `iss` claim when minting a JWT to fetch an installation token, allowing one ID to serve both OAuth and installation-token flows. The application ID remains supported, with no current deprecation or removal plan, but compatibility with future features will rely on the client ID, so the source recommends updating. In typed languages, note that application IDs are integers and client IDs are strings. Octokit still expects the application ID; SDK support for the client ID is planned for a future update. Neither ID is secret or needs different handling.

## Source excerpt

Developers of GitHub Apps can simplify their application by using the client ID for both OAuth flows and the installation token flow. To date, GitHub Apps have had two different...