Skip to content

fix(helm): pass GitHub App env vars to front for OAuth and installation flows - #286

Merged
ArtyomSavchenko merged 1 commit into
hcengineering:mainfrom
ledoent:fix/helm-github-front-env
Mar 22, 2026
Merged

fix(helm): pass GitHub App env vars to front for OAuth and installation flows#286
ArtyomSavchenko merged 1 commit into
hcengineering:mainfrom
ledoent:fix/helm-github-front-env

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #280. The GitHub integration (githubIntegration.enabled=true) is broken without two env vars on the front service:

  • GITHUB_CLIENTID — the front builds the OAuth authorize URL client-side. Without it, client_id= is empty → GitHub returns 404.
  • GITHUB_APP — the front builds the GitHub App installation URL. Without it, the URL becomes /apps//installations/new → 404.

Changes

  • templates/front/deployment.yaml: add GITHUB_CLIENTID (from secret) and GITHUB_APP (from values) when githubIntegration.enabled
  • values.yaml: add appSlug field to githubIntegration

Test plan

  • Enable githubIntegration with valid GitHub App credentials
  • Click "Connect" on GitHub integration → OAuth redirect includes client_id=<value>
  • Click "Install Github App" → redirects to github.com/apps/<slug>/installations/new

🤖 Generated with Claude Code

…on flows

The front service needs two additional env vars when GitHub integration
is enabled:

- GITHUB_CLIENTID: used to build the OAuth authorize URL. Without it,
  the redirect has client_id= (empty) and GitHub returns 404.
- GITHUB_APP: the app slug, used to build the installation URL. Without
  it, the URL becomes /apps//installations/new which returns 404.

Also adds githubIntegration.appSlug to values.yaml for the app slug.

Signed-off-by: Daniel Kendall <dkendall@ledoweb.com>

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Don Kendall <kendall@donkendall.com>
@huly-github-staging

Copy link
Copy Markdown

Connected to Huly®: SELFH-285

@ArtyomSavchenko
ArtyomSavchenko merged commit 2a43013 into hcengineering:main Mar 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants