A first Google sign-in mints an account only under an app's invite grant #18
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/heimdall-invite-grant-mints"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cut
gamecult-chat:cut_spec:cut-heimdall-invite-grant-mints.r1; rulingeureka-body:ruling:first-invite-sign-in-providers.AppProfile.mayGrantFirstLogin(Bifrost sets it).firstLoginGrant: "invite"only onsign_in, only from the profile's own authenticated app caller (reuses the existing app-caller gate), only for a profile that may grant; else 401app_auth_required/ 400first_login_grant_refused.first_login_grant), validated with the other fields; a grant with a non-sign_in mode is an invalid state.account_minted_by_grant; otherwiseidentity_not_linkedas before. An existing holder signs in as today;mode: linkis unchanged.docs/service-contract.mdGoogle section updated.Tests on Yggdrasil (node:24, submodule built): typecheck clean, 744 passed / 208 skipped.
Not deployed.