A first Google sign-in mints an account only under an app's invite grant #18

Merged
eureka merged 6 commits from hands/heimdall-invite-grant-mints into main 2026-11-29 20:04:07 +00:00

2026-11-29

Meta Vens
Test config: repixelizer holds a secret so the other-app grant case is a real app caller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:51:55 +01:00
Meta Vens
Grant gate: keep the caller check on one line, as the caller-identity source test requires
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:47:46 +01:00
Meta Vens
Service contract: Google section gains the invite grant
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:45:04 +01:00
Meta Vens
2026-11-29 20:45:04 +01:00
Meta Vens
Heimdall: an app's invite grant lets a first Google sign-in mint an account, carried only in the signed state
Bifrost's profile may grant; its authenticated sign_in start may carry firstLoginGrant invite.
The callback mints only when no account holds the identity; otherwise identity_not_linked stands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:45:03 +01:00