Enhance OIDC subject to include account, org and project
GitHub - ID Token format - About security hardening with OpenID Connect - GitHub Docs. The Sub contains repo:<repo_name>:environment:<env_name>.
GitLab - Is similar to GitHub. They have a wide variety of Custom Claims and their Subject contains project:project_path:branch:branch_path - OpenID Connect (OIDC) Authentication Using ID Tokens | GitLab
Circle CI - Does not have any Custom Claims and their Subject contains org/<organization_id>/project/<project_id>/user/<user_id> - Using OpenID Connect tokens in jobs - CircleCI
Enhance OIDC subject to include account, org and project account/<account_id>:org/<org_id>:proj/<proj_id>
Created by Nandeesh GK
May 15, 2024