mrsimonemms/gitpod-self-hosted

Blank login redirect no response

buggtb opened this issue · 8 comments

Bug description

Lol I file this under bug report, but basically have you seen a case where when you hit login it just pops up a window, doesn't return and goes nowhere?

https://gitpod.spicpod.tech/api/login?host=gitlab.com&returnTo=https%3A%2F%2Fgitpod.spicpod.tech%2Fcomplete-auth%3Fmessage%3Dsuccess its trying that but never gets a response, I'm not sure what backend service its trying to hit to debug it and the logs I've glanced at don't show anything obvious.

API is up though cause https://gitpod.spicpod.tech/api/version returns something so its not entirely dead.

Sorry Simon stupid user errors! :)

Steps to reproduce

Install Gitpod like a complete cowboy and then wonder why it doesn't work.

Expected behavior

No response

Example repository

No response

Anything else?

No response

Yeah, I've seen this loads. It's a pain in the backside to debug. From memory, it's in the server component.

Usually, the issue is that the GitHub/GitLab creds are incorrectly set up - usually the URL is wrong, but check clientId and clientSecret. Did you add the credentials with a secret, or did you do it manually via the GUI?

  1. If the former, switch to the latter.
  2. If the latter, check you've set it correctly.

The main web dashboard.

Isn't this chicken and egg? how does one login without being able to login via github or gitlab?

oh this localhost:8800 forward thing I found digging around on the website?

(editors note: thats a no, there's nothing on 8800)

Ah, missing settingsUrl that I pulled out of someone elses github ticket and the redirect has sprung into life...

At the very least I'll be able to write you a morons guide to getting started at the end of all of this!

Morons of the world unite!!! 🥕 🏴󠁧󠁢󠁷󠁬󠁳󠁿