Login page and Settings → eGov: relay session with a server-side challenge/nonce, QR + eGov Mobile deep link, polling, one-shot completion; IIN from the signer's certificate (own DER reader), users.egov_iin. The relay is trusted (PM decision): no own XMLDSig check. CLI peppa user egov, mock-kazeds-relay, tests. Dev mode: /_next/static is no-store (Cloudflare cached stale chunks). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 lines
207 B
SQL
3 lines
207 B
SQL
ALTER TABLE `users` ADD `egov_iin` text;--> statement-breakpoint
|
|
ALTER TABLE `users` ADD `egov_linked_at` integer;--> statement-breakpoint
|
|
CREATE UNIQUE INDEX `users_egov_iin_unique` ON `users` (`egov_iin`); |