t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Android passkeys rejected by 1Password: invalid namespace in Digital Asset Links

Open nbrosei opened this issue 2 months ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate (open and closed searches for passkey, 1Password, and assetlinks).
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Summary

1Password refuses to save a T3 Code passkey in the native Android app. The live Digital Asset Links document for clerk.t3.codes contains invalid Android namespace values. Google's validator independently rejects the document with ERROR_CODE_MALFORMED_CONTENT.

Steps to reproduce

  1. Install T3 Code 1.1.0 from Google Play on an Android phone with 1Password as the passkey provider.
  2. Attempt to save a T3 Code passkey from the native app.
  3. Observe 1Password rejecting the operation. The reporter also reports failure when trying to use a passkey.

Expected behavior

1Password can verify the app's association with the passkey domain and save/use the passkey.

Actual behavior

Reported messages:

unable to save passkey
for security reasons, 1Password did not save this passkey. The associated URL for this passkey does not match the selected app.

Impact

Major degradation: passkey creation/use fails for the reporter in the Android app. Other authentication methods were not tested.

Version or commit

T3 Code Android 1.1.0, installed from Google Play (com.t3tools.t3code).

Environment

Native Android app; 1Password passkey provider. Android version, phone model, and 1Password version were not supplied.

Independently verified evidence

Checked on 2026-09-12. https://clerk.t3.codes/.well-known/assetlinks.json is reachable and returns JSON, but its targets contain:

{"namespace":"T3 Code Production","package_name":"com.t3tools.t3code"}
{"namespace":"T3 Code Preview","package_name":"com.t3tools.t3code.preview"}

These are excerpts; the actual entries also include certificate fingerprints and the delegate_permission/common.get_login_creds relation. Android app targets require the literal namespace android_app, not a display name.

Independent validation using the production fingerprint currently published in that file:

curl --get 'https://digitalassetlinks.googleapis.com/v1/assetlinks:check' \
  --data-urlencode 'source.web.site=https://clerk.t3.codes' \
  --data-urlencode 'relation=delegate_permission/common.get_login_creds' \
  --data-urlencode 'target.androidApp.packageName=com.t3tools.t3code' \
  --data-urlencode 'target.androidApp.certificate.sha256Fingerprint=B9:F5:1E:D5:A7:6C:D1:86:C9:51:08:F2:19:91:B7:D5:3A:58:FD:A9:83:12:A9:E3:53:E2:1A:59:B2:42:03:B6'

Relevant response excerpts:

Could not parse statement list (unrecognized namespace: T3 Code Production)
Could not parse statement list (unrecognized namespace: T3 Code Preview)
"errorCode": ["ERROR_CODE_MALFORMED_CONTENT"]

The malformed association is confirmed and is consistent with the reported rejection. A successful end-to-end passkey operation has not been tested, and the published certificate fingerprint has not been compared with the installed Play Store binary.

Suggested correction and verification

In the production Clerk instance, under Native applications → Android, change both entries' namespace to android_app, preserving their respective package names. Also verify the production SHA-256 fingerprint against the Google Play app signing certificate (not merely the upload certificate).

After the published association and caches update, rerun Google's validator and retest both passkey creation and sign-in with 1Password on a physical Android device using the Play Store build.

References:

Workaround

None verified.

nbrosei avatar Sep 12 '26 07:09 nbrosei