Guide to using OpenID Connect (OIDC) in Gitpod
gitpod idp token
command to authenticate with the third party.
gitpod idp
. To retrieve the OIDC token for the current environment, run gitpod idp token
.
For example, to request a new OIDC JWT for example.org, execute:
--decode
flag:
sub
claim will have the following format:
sub: "org:<orgID>/user:<userID>"
sub: "org:<orgID>/rnr:<runnerID>"
sub: "org:<orgID>/env:<environmentID>"
sub: "org:<orgID>/prj:<projectID>/env:<environmentID>"
org:<orgID>
prefix.
org:<orgID>/prj:<projectID>
prefix.
org:<orgID>/prj:<projectID>/env:<environmentID>
prefix.