Pre-launch — Gluecron is in final validation. Public signups and git hosting for non-owner users open after launch review.
Commit09be7bfunknown_key

fix(login): render the SSO sign-in button (dead variables)

fix(login): render the SSO sign-in button (dead variables)

`/login` was computing `ssoEnabled` and `ssoLabel` from `getSsoConfig()`
but never using them — the JSX had no button. Admins could fill in the
IdP config at `/admin/sso`, tick "Enabled", save, and the page would
still only show username/password.

Adds the "Sign in with <providerName>" LinkButton, gated on the full
ssoEnabled check (config row present, enabled=true, all four IdP URLs
+ client id/secret populated). Pointed at `/login/sso`, which is
already wired to begin the auth-code flow.

Suite: 1273 / 0 fail.
Claude committed on May 13, 2026Parent: 3c14398
1 file changed+7009be7bf15d276cba5fc56a54cbd89aeea4c7439e
1 changed file+7−0
Modifiedsrc/routes/auth.tsx+7−0View fileUnifiedSplit
2828 FormGroup,
2929 Input,
3030 Button,
31 LinkButton,
3132 Alert,
3233 Text,
3334} from "../views/ui";
221222 Sign in
222223 </Button>
223224 </Form>
225 {ssoEnabled && (
226 <div class="auth-sso">
227 <div class="auth-divider">or</div>
228 <LinkButton href="/login/sso">Sign in with {ssoLabel}</LinkButton>
229 </div>
230 )}
224231 <p class="auth-switch">
225232 <Text>New to gluecron? <a href="/register">Create an account</a></Text>
226233 </p>
227234