Skip to content

feat: passkey page for the mobile app - #33452

Open
santoshakil wants to merge 12 commits into
mainfrom
feat/passkey-web-flow
Open

santoshakil wants to merge 12 commits into
mainfrom
feat/passkey-web-flow

Conversation

@santoshakil

@santoshakil santoshakil commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

The mobile app will do passkey login on the server's own web page. So it also works for servers Google can't reach, like LAN or Tailscale, and one passkey works on both web and mobile. This is the server and web part, the mobile part is stacked on top. It builds on #33599.

  • new page /auth/passkey. the app opens it in the system browser
  • login: the page logs in with the passkey on web, gets a one-time code for the app's code challenge, logs out again and hands the code to the app
  • public config now has the passkey domain, so the app can open the page there when it's set

I tested it with server unit and medium tests, and with the mobile PR on a Pixel 5.

@immich-push-o-matic

immich-push-o-matic Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

📱 Android release APK (universal) — 19933a8fbf598976c3d96ba99416b1231fb95c66

Download: https://github.com/immich-app/immich/actions/runs/45593779260/artifacts/15013452700

QR code QR code

Installs as a separate app (applicationId app.alextran.immich.pr33452), so it coexists with the Play Store version and any other PR builds.

@LeLunZ LeLunZ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really big thx for looking into this. I can't comment on the svelte part but this way the shared rpId issue is solved :)

Comment thread server/src/services/passkey.service.ts Resolved

@jrasm91 jrasm91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, but will have to test it later.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants