---
title: "Docker OIDC connections for GitHub Actions available for Docker Orgs"
description: "Docker Hub now accepts GitHub Actions OIDC tokens, letting workflows exchange a signed per-run JWT for a short-lived, scoped Docker access token instead of storing long-lived PATs or OATs as secrets."
url: "https://swe.quest/articles/docker-oidc-connections-for-github-actions-available-for-docker-orgs-3b185b228d75b17a"
canonical: "https://www.docker.com/blog/docker-oidc-connections-for-github-actions-available-for-docker-orgs/"
source: "Docker"
published: "2026-07-31"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 4
tags: ["identity-auth","ci-cd","supply-chain-security","containers"]
---

# Docker OIDC connections for GitHub Actions available for Docker Orgs

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-07-31, 4 min read, Announcement. Original: [https://www.docker.com/blog/docker-oidc-connections-for-github-actions-available-for-docker-orgs/](https://www.docker.com/blog/docker-oidc-connections-for-github-actions-available-for-docker-orgs/)

## Summary

Docker Hub now accepts GitHub Actions OIDC tokens, letting workflows exchange a signed per-run JWT for a short-lived, scoped Docker access token instead of storing long-lived PATs or OATs as secrets. Docker verifies the token signature against GitHub's keys and matches its subject claim against up to five rulesets per connection, which can pin access to specific repos and branches. Setup requires creating a connection in Docker Home, granting \`id-token: write\`, and setting \`DOCKERHUB\_OIDC\_CONNECTIONID\` for docker/login-action v4.5.0+. It is available to Team, Business, DHI and DSOS organizations; existing tokens keep working and non-GitHub CI still uses PATs/OATs.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)

## Prerequisites

- GitHub Actions workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- Docker Hub access tokens ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- OIDC basics

## Keywords

Docker Hub, GitHub Actions, OpenID Connect, docker/login-action, JWT

## Related posts

- [Docker Hub security advisory: personal access tokens transferred during account-to-organization conversions](https://swe.quest/articles/docker-hub-security-advisory-personal-access-tokens-transferred-during-account-5233dfafde560807.md): Docker · 2026-10-12 · Medium · 5 min read · Identity & auth, Supply chain security, Incidents & postmortems, Containers
  Converting a Docker Hub personal account into an organization re-assigned the account's personal access tokens to the named new owner without rotating the secret or asking for consent.
- [Don’t hardcode IAM credentials in GitHub!](https://swe.quest/articles/don-t-hardcode-iam-credentials-in-github-efc515eb186f4e22.md): Scribd Tech · 2026-01-06 · Medium · 2 min read · Identity & auth, CI/CD, Infrastructure as code, Cloud platforms
  Instead of distributing long-lived IAM access keys to GitHub Actions, Scribd uses an AWS IAM OIDC identity provider so workflows assume IAM roles via aws-actions/configure-aws-credentials, avoiding key rotation and tracking problems.
- [Using GitHub Actions with Heroku Flow for additional Security Control](https://swe.quest/articles/using-github-actions-with-heroku-flow-for-additional-security-control-fea72ed977a6f5e4.md): Heroku Engineering · 2025-03-27 · Medium · 7 min read · CI/CD, Deployment, Security, Cloud platforms
  Because GitHub Orgs can't allowlist Heroku IP ranges, Heroku offers a sample pattern: a self-hosted GitHub Actions runner deployed as a Docker app in a Heroku Private Space with static outbound IPs, plus a Heroku Flow Action.
- [Automatically Rotating GitHub Tokens (So You Don’t Have To)](https://swe.quest/articles/automatically-rotating-github-tokens-so-you-don-t-have-to-45a6ed60a4bb7896.md): Shopify Engineering · 2022-12-20 · Medium · 11 min read · Identity & auth, CI/CD, Security, Developer tools
  Shopify replaced long-lived GitHub personal access tokens with short-lived GitHub App installation tokens that are rotated automatically by scheduled GitHub Actions workflows and written into repository secrets.
- [Security Disclosure Recommendation: Check for Anomalous GitHub Access](https://swe.quest/articles/security-disclosure-recommendation-check-for-anomalous-github-access-acf8b4a01ac2abcd.md): Railway · 2026-10-22 · Medium · 1 min read · Identity & auth, Incidents & postmortems, Security
  Railway users who connect GitHub, following the October 21, 2026 security disclosure, should audit their GitHub accounts for persistence an attacker may have left behind, then confirm no unexpected commits reached their deployments.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
