Skip to content

Can see "configure Gitpod App" even though I am using an oauth for my self-hosted installation #10355

Open
@lucasvaltl

Description

@lucasvaltl

Bug description

When I try to create a project on a self-hosted installation (Created with the GKE guide), I see "configure gitpod app" even though I am not using a github.com oauth app as a way to link my github to gitpod, but rather oauth.

This seems to be a bug - it shows me the following error upon opening the pop up window where you would grant Github permissions:

{"error":"Error: unhandled request: GET /apps/github/reconfigure?account=undefined&state=eyJmcm9tIjoiL3JlY29uZmlndXJlIiwibmV4dCI6Ii9uZXcifQ%3D%3D\nStack: Error: unhandled request: GET /apps/github/reconfigure?account=undefined&state=eyJmcm9tIjoiL3JlY29uZmlndXJlIiwibmV4dCI6Ii9uZXcifQ%3D%3D\n at unhandledToError (/app/node_modules/@gitpod/server/dist/src/express-util.js:127:17)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13)\n at /app/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12)\n at next (/app/node_modules/express/lib/router/index.js:275:10)\n at /app/node_modules/express/lib/router/index.js:641:15\n at next (/app/node_modules/express/lib/router/index.js:260:14)\n at Function.handle (/app/node_modules/express/lib/router/index.js:174:3)\n at router (/app/node_modules/express/lib/router/index.js:47:12)\n at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13)\n at /app/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12)\n at next (/app/node_modules/express/lib/router/index.js:275:10)\n at /app/node_modules/express/lib/router/index.js:641:15"}

Steps to reproduce

Walk through via loom: https://www.loom.com/share/1fe4a58f42994d0c98719c500a2d814f

  1. Spin up self hosted instance
  2. Connect to github.com using oauth
  3. try to create a project
  4. (I think this is what happened) give permissions via github
  5. press configure Gitpod App
  6. See error
    --> Happy to give access to the dummy github account used here.

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions