Gitpod Local Companion OAuth2 failure

Hello everybody :slight_smile:

during the process of migrating our projects to Gitpod we encountered a project where we need the tunneling capabilities of the Gitpod Local Companion. Unfortunately, right now, when trying to start the local companion, the OAuth2 flow fails with the following message:

{"status":400,"message":"The requested scope is invalid, unknown, or malformed: Check the `resource:workspace::*::get, resource:workspaceInstance::*::get` scope(s)","stack":"t: The requested scope is invalid, unknown, or malformed: Check the `resource:workspace::*::get, resource:workspaceInstance::*::get` scope(s)\n    at Function.t.invalidScope (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:10180)\n    at t.<anonymous> (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:16367)\n    at u (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:3282)\n    at Generator._invoke (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:3035)\n    at Generator.next (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:3641)\n    at s (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:302)\n    at a (/app/node_modules/@jmondi/oauth2-server/dist/oauth2-server.cjs.production.min.js:1:505)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}

We tried to start the companion via:

./gitpod-local-companion-linux --mock-keyring

Thanks in advance for your response :slight_smile:

discussion is moved here: Unable to auth when using Gitpod Local Companion · Issue #6712 · gitpod-io/gitpod · GitHub