Repository navigation
Sign in with GitHub on hybrid installs, through Coderhelm's app - #309
Merged
Merged
Conversation
The API now offers GitHub sign-in on a hybrid install registered with Coderhelm (coderhelm-platform #459): /auth/github on the install goes through Coderhelm's GitHub App and the install checks the account itself. - Settings, System, Hybrid, Other apps: Sign in with GitHub has the new mode included ("On through Coderhelm's app") with what passes through Coderhelm and what stays with the install; no Google mention. - The sign-in page already follows GET /auth/methods; comments say how a hybrid install gets GitHub. - e2e: a registered hybrid install shows Continue with GitHub, starting at the install's own /auth/github; the Other apps card shows the new copy with nothing to choose.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A hybrid install registered with Coderhelm signs people in with GitHub again, through Coderhelm's GitHub App (coderhelm-platform #459). The API says so in
GET /auth/methods, so the sign-in page shows Continue with GitHub, starting at the install's own/auth/github. The install checks the GitHub account with GitHub itself and applies its own rules; Coderhelm can't start a session or choose who signs in.Changes
included: the chip says "On through Coderhelm's app", with what passes through Coderhelm and what stays with the install, and nothing to choose. The old "Not available ... or Google with your own domain" copy is gone (it came from the API; a self-hosted install has no Google sign-in).HybridIntegration.modetakesincluded.use-sign-in-methods.ts: comments say how a hybrid install gets GitHub.Verification
npm run lint,npm run typecheck,npm run build.E2E_STATIC=1):sign-in-methods.spec.ts(new: a registered hybrid install shows the button withhref="/auth/github"),hybrid.spec.ts(the Sign in with GitHub card shows the new copy, no Google, no buttons),hybrid-jira-email.spec.ts,audit-shell.spec.ts: 88 passed.