Repository navigation
v0.18.7 - Google sign-in off the web build, password rules named
Pre-releaseGoogle sign-in leaves the browser build, and the password rules are finally named.
Why Google sign-in is off on web
Four rounds of bridge work went into making it complete inside itch.io's web-play iframe. The
click-through of 2026-10-22 settled it: the embedder delegates no credential permissions, and the
surviving popup handback — GIS's popup navigating to gsi/transform and posting the ID token back to
its opener — fails in silence. The console showed the chooser opening, its postMessage handshake
arriving, and then nothing: no credential, no error_callback, no popup_closed. Those three
absences point at one state, a window still open on a page the console cannot see.
That is a property of how itch.io embeds the game, not a defect in our code. Desktop is unaffected
because it never uses that path at all — it receives the token as an HTTP POST to a loopback listener.
What changed
GoogleTokenProvider.Supportedreturns false for WebGL, soAccountManager.SupportsGoogle
is false and the button is not offered.- The
.jslibbridge is kept, not deleted, marked dormant in its header, and still covered by
its 128-assertion harness. The three gates are properties of itch.io and will be there whenever web
sign-in is revisited; deleting the code would throw away the only working description of them. - The Auth screen hides the Google button and its divider where the provider is unavailable, and puts
a note in their place: name the missing option before the player assumes it is broken, and point at
the desktop download. No URL in the copy — the itch page has its own download button. PasswordPolicytranscribes Unity's rules into one place and checks them before signup and
password change, so a player is told which rule they missed rather than a generic rejection.AuthResultquotes those rules instead of "does not meet the requirements", on both the substring
path and the shared 10002 code.- The register form shows the requirement line next to the password field.
Email becomes part of the account
Groundwork for future microtransactions, and deliberately narrow:
EmailPolicyenforces RFC 5321 length caps and RFC 5322atext, with first-fault errors.- Profile schema
1 -> 2carriesprofile_emailandprofile_email_verified. IsComplete()now requires an address, so existing accounts cross setup once — prefilled with
name, tag and email, so a returning player is not invited to overwrite the identity their friends
added them by.- Editing an address revokes
emailVerified, because proof attaches to the old value otherwise.
Debt, stated plainly
Every collected address is self-reported and unverified. Unity Authentication has no email member
on the credential record and no way to send mail. profile_email_verified is false for all of them,
and nothing security-relevant may key off the field until a sender exists. Passwordless email-OTP
sign-in — the stated design — is blocked on an outbound mail sender that no Unity API provides.
Coverage
Tools/WebGL/gsi-bridge-test.mjs 128/128. EditMode Overlink.Net.Tests 90/90, full EditMode
1061/1067, the two failures being the pre-existing pair (SimpleAI_MakesLegalMoves,
SceneSummarize_CountsObjectsCorrectly). CI has no test job: a green run here proves the
artifacts compiled and uploaded, and nothing more.
Known, not fixed (design decisions)
- CR-04: automatic reshuffle vs. the specified deck-out condition.
- CR-05: Volley resolves against Core Actives only.
- CA-01: Interdiction Net advertises an unimplemented mechanic.