Repository navigation
@hanzo/team 0.1.6: the shared one-click sign-in panel - #5
Merged
Merged
Conversation
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.
This was referenced Nov 11, 2026
Merged
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.
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/authSignInPanel(@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: arequest()that keeps the page to come back to (asdepartdoes) and mints this app's authorize request.hanzo.ai/loginwithlogin_hint; Create account to/signup.@hanzo/ui8.29.45 → 8.32.1; theminimumReleaseAgeExcludeentry moves to 8.32.1.@hanzo/team0.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.tsfails on Windows only, a path problem that predates this change.