Can see "configure Gitpod App" even though I am using an oauth for my self-hosted installation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
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
- Spin up self hosted instance
- Connect to github.com using oauth
- try to create a project
- (I think this is what happened) give permissions via github
- press configure Gitpod App
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the flow from the GKE guide: connect GitHub through OAuth, create a project, and select “configure Gitpod App.” Start with the failing /apps/github/reconfigure request and the Loom reproduction; done means the OAuth flow no longer displays this configuration action or returns an unhandled request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100