invite_requires_login
An invite acceptance was attempted without a session; a sign-in handoff cookie has been set.
invite_requires_login is returned when POST /v1/auth/invite/accept is called without an authenticated session. Rather than discarding the invite intent, the server stores an invite handoff cookie so the accept can be completed automatically after the user signs in. See the InviteRequiresLoginError schema for the handoff details.
The user clicked an invite link while not signed in. This is an expected flow state, not an error condition that requires user intervention beyond signing in.
Redirect the user to the sign-in page. After successful authentication the platform will detect the handoff cookie and complete the invite acceptance automatically.
{
"error": {
"code": "invite_requires_login",
"message": "sign in to accept this invitation",
"request_id": "req_01900000abc",
"redirect_to": "/auth/sign-in"
}
}code === "invite_requires_login".