requilence / integram

Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots
https://integram.org
GNU General Public License v3.0
1.54k stars 151 forks source link

[GitLab CE] Redirect URI issue #39

Closed Blasterdick closed 7 years ago

Blasterdick commented 7 years ago

I have a few questions about using integram.

  1. What Redirect URI should I use for Gitlab CE, if I'm running integram in the same kubernetes cluster, as the Giltab CE, and integram is accessible to GitLab via FQDN like integram.default.svc.cluster.local on port 80.

  2. What Scopes should I set for Redirect URI? (Gitlab 9.3.5)

Could you please help me to get this working? Thanks in advance.

Blasterdick commented 7 years ago

UPD:

  1. The Redirect URL should be like this: http(s)//sub.domain.com:port/auth/gitlab
  2. INTEGRAM_BASE_URL should be a complete FQDN (not an IP), ACCESSIBLE THROUGH THE INTERNET, so Telegram could open the links to it. Like http(s)//sub.domain.com:port
  3. It doesn't really matter what scopes do you use in Application settings on GitLab (they're added to a GET request by Integram anyways).
  4. INTEGRAM_PORT have to be pointed as well.

After that, everything works like a charm. Thanks, @Requilence.