Identity

identity

Methods

Exchange Token -> { accessToken }
post/gitpod.v1.IdentityService/ExchangeToken

ExchangeToken trades an exchange token for a new access token.

Get Authenticated Identity -> { organizationId, subject }
post/gitpod.v1.IdentityService/GetAuthenticatedIdentity

GetAuthenticatedIdentity allows to retrieve the current identity.

Security
Bearer Auth

Example: Authorization: Bearer My Bearer Token

Response fields
organizationId: string
Optional
subject: { id, principal }
Optional

subject is the identity of the current user

Request example
200Example
Get ID Token -> { token }
post/gitpod.v1.IdentityService/GetIDToken

GetIDToken returns a token that can be used to authenticate the user against the other services.