#14367·tauri

Autocomplete html attribute saves credentials to https://tauri.localhost

Author: swagliquidoCreated Oct 26, 2025Updated Sep 23, 2026
Labelstype: bugpriority: 2 mediumstatus: needs triageplatform: Android

Hello, in my android app made with Tauri I have this issue: when using the html autocomplete attribute on text fields the credentials are saved to https://tauri.localhost by google password manager instead of being associated with my app.

I include a minimum reproducible example in the zip file

src.zip

what happens in sequence is this:

  1. When registering a new account, ask google password manager to generate and save a new password using autocomplete="email" for the email input and autocomplete="new-password" for the password inputs (note: in the example the "Register Account" button does nothing so I'm using gboard "suggest strong password" to open the google password manager prompt)
  1. The new credentials are saved to google password manager:
  1. During login I use autocomplete="username" and autocomplete="current-password" for the input fields, which prompts google password manager for autofill:
  1. I see this weird prompt:

This is frustrating because it requires 2 biometric verifications during login, and why are the credentials being saved for https://tauri.localhost in google password manager? Also this is my assetlinks.json for context:

[
  {
    "relation": [
      "delegate_permission/common.handle_all_urls",
      "delegate_permission/common.get_login_creds"
    ],
    "target": {
      "namespace": "android_app",
      "package_name": "com.myapp.dev",
      "sha256_cert_fingerprints": [
        "redacted"
      ]
    }
  }
]