Identity

identity

Methods

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

ExchangeToken trades an exchange token for a new access token.

Security
Bearer Auth

Example: Authorization: Bearer My Bearer Token

Response fields
accessToken: string
Optional

access_token is the new access token

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

GetAuthenticatedIdentity allows to retrieve the current identity.

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.