Mobile icon indicating copy to clipboard operation
Mobile copied to clipboard

Mobile 2.0.0 (iOS): browser passkey/security-key sign-in fails with "sent no session back" on server 26.11.0

Open canyildizuk opened this issue 4 weeks ago • 3 comments

What happened?

On iOS, signing in to a self-hosted server through the browser fails after a successful security-key login. The app shows:

Sign in failed. The page signed you in but sent no session back. Update the server to Termix 26.10.6 or newer.

The server is already newer than 26.10.6.

Steps to reproduce

  1. In the iOS app, link a server and choose to sign in.
  2. The app opens the browser. Sign in with a passkey stored on a YubiKey (NFC on iPhone, USB-C on iPad).
  3. The browser login succeeds.
  4. Back in the app, the error above appears and the app is not signed in.

What did you expect?

The app picks up the session after the browser login.

Termix version

Server 26.11.0 (stable). App: Termix - Remote Access 2.0.0 (App Store).

Platform

iOS: iPhone 14 Pro Max and iPad (both fail the same way).

Server install

Docker (ghcr.io/termix-ssh/termix:26.11.0), behind Caddy, served over HTTPS on a Tailscale name (*.ts.net).

Environment

  • Passkeys with user verification "Discouraged"; the "security key after password" second factor is on.
  • The same passkeys work in desktop Chrome and in the Homebrew macOS build 26.11.0.
  • Password + TOTP sign-in in the iOS app works.

Anything else?

Separate, maybe related: the Mac App Store build can't reach USB security keys at all (it is sandboxed without USB device access), while the Homebrew/DMG build works. Happy to open a separate issue for that.

  • [x] I searched open and closed issues and this is not a duplicate
  • [x] I am on the latest version, or I said which version I am on

canyildizuk avatar Nov 06 '26 16:11 canyildizuk

Moved here from Termix-SSH/Termix, since every Termix repo handles its own issues. The issue describes a failure in the iOS app's login flow where the session is not transferred from the browser back to the native app. If this was moved by mistake, reply and a maintainer will sort it out.

termix-triage-bot[bot] avatar Nov 06 '26 16:11 termix-triage-bot[bot]

Auto-triage

Mobile app fails to complete passkey login on iOS and Android, showing 'sent no session back' error despite successful browser authentication.

Field Value
Type Bug
Difficulty 3/5 (Moderate)
Priority High

A maintainer will take a look. If anything above looks wrong, just say so.

termix-triage-bot[bot] avatar Nov 06 '26 16:11 termix-triage-bot[bot]

I'm experiencing the exact same issue with the android app. Server version 26.11.1, Android Device Info: Pixel 10 Pro Android 17 build CP3A.261005.005 Termix App version 2.0.0 I tried both Chrome and Firefox as the browser.

umaxtu avatar Nov 14 '26 23:11 umaxtu