Mint auto-login OTK on first email verification

FeatureSecurityService
Ya
3 Agosti 2026, 04:48 UTC
Mwandishi
Kamo
Ahadi ya
11d10a7

Completing the register wizard's email verification (6-digit code or email link) already proves inbox possession, yet the new user was bounced to the login page to retype credentials and solve a third ***. Reuse the enter-as primitive instead: on the FIRST successful verification, when the verified user holds an eligible membership in their register org, mint a login-equivalent *** via PostAuth***Service and wrap it in the same single-use 180s OTK that kamo-internal's /validate page already consumes. - EmailVerificationService: verify methods now return VerificationResult(userId, firstVerification) so re-verification of an already-verified account (e.g. after a resend) can never re-mint; resolveRootDomain exposed package-static for host resolution. - **************** fails closed on any missing or ineligible membership (register /team PROSPECTs keep the login redirect), unresolved domain, incomplete custom-domain SSL setup, or error — verification success itself is never affected. - /verify-email response gains additive otk + autoLoginHost fields; shape unchanged when minting is skipped.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei