Unary · Environments
This method is deprecated.
Deprecated: Use local validation with the environment state cache instead.
Checks if the authenticated caller can access a specific port on an environment.
This is called by the Runner Proxy to validate access tokens against current state.
The caller’s identity is extracted from the JWT in the request context.
Examples
-
Check port access:
Verifies if the caller can access port 8080 on an environment.
Endpoint
Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.
Request example
Request
gitpod.v1.AllowPortAccessRequest
Response
gitpod.v1.AllowPortAccessResponse