Skip to content

@hanzo/team 0.1.6: the shared one-click sign-in panel - #5

Merged
Darkhorse7stars merged 1 commit into
mainfrom
team-shared-signin
Nov 11, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
team-shared-signin

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

Why

hanzo.team drew its own copy of the sign-in, and its Google and GitHub buttons left for hanzo.ai/login?…&provider=…, so people pressed the provider a second time there. One shared panel now serves every Hanzo site.

What

  • src/login/Login.tsx: the first screen draws @hanzo/ui/auth SignInPanel (@hanzo/ui 8.32.0: SignInPanel, the one-click sign-in every Hanzo site shares ui#313, #314) with this app's own client. The hand-made card and its provider marks go (about 100 lines).
  • src/data/session.tsx: a request() that keeps the page to come back to (as depart does) and mints this app's authorize request.
  • One press: Google or GitHub goes straight to IAM's authorize on hanzo.ai and on to the provider. Email goes to hanzo.ai/login with login_hint; Create account to /signup.
  • @hanzo/ui 8.29.45 → 8.32.1; the minimumReleaseAgeExclude entry moves to 8.32.1.
  • @hanzo/team 0.1.5 → 0.1.6.

Testing (local)

  • pnpm install --frozen-lockfile (pnpm 11.24.0): passes, including the supply-chain check.
  • tsc --noEmit: clean.
  • node --test: 56 of 57 pass. theme.test.ts fails on Windows only, a path problem that predates this change.

hanzo.team drew its own copy of hanzo.app's sign-in, and its Google and GitHub
buttons left for hanzo.ai/login with the provider as a parameter, so the person
pressed it a second time there.

The first screen now draws @hanzo/ui/auth's SignInPanel, the one every Hanzo
site shares, with this app's own client (`request`, which keeps the page to
come back to and lets the SDK keep the PKCE verifier and state): Google or
GitHub straight to the provider in one press, an email to hanzo.ai/login with
the address, a new account to /signup. The hand-made card and its provider
marks go.

@hanzo/ui 8.29.45 -> 8.32.1; its minimum-release-age exemption moves with it.
@Darkhorse7stars
Darkhorse7stars merged commit c7e3535 into main Nov 11, 2026
3 of 4 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.

1 participant