handoffConfirmsWithoutSession static method
Returns whether a handoff asks "Sign in as ...?" when no session is open
(magic_starter.handoff.confirm_without_session, default true).
The question is what stops a login CSRF: an attacker mints a code for their own account and links a signed-out victim, who would otherwise land signed in to the attacker's workspace. An app turns it off only to save that tap; over an open session the handoff asks whatever this says.
Implementation
static bool handoffConfirmsWithoutSession() {
return Config.get<bool>(
'magic_starter.handoff.confirm_without_session',
true,
) ??
true;
}