Passkeys login failure

Options
sree
sree
Community Member
edited June 6 in Android

Hello,

My first post here. First of all, I'm a happy 1Pass user, thanks for the product.

I'm an android dev, integrating passkey into my app, tested and working well with GPM. I used my 1Password credential manager to test, where I faced issues with passkey.

First I'll mention about sign-in process. Here are the steps
1. Make sure 1password has not authenticated/used quite recently
2. Launch my app
3. Launch passkey autofill flow
4. launches one password
5. Authenticate biometrics with 1Password manager
6. Fails with below screenshot

I checked 1pass logs on the device and I can see there are some issues. See the trace

2024-06-07 11:10:54.327 16234-24942 com.onepassword.android com.onepassword.android              W  WARN  tokio-runtime-worker(ThreadId(3)) [1P:data/ext/op-account-ext-syncer/src/lib.rs:248] The B5 Notifier for (XXXXXXXXXXXXXXX) has disconnected.
2024-06-07 11:10:56.536 16234-24940 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(1)) [1P:data/ext/op-account-ext-syncer/src/lib.rs:257] The B5 Notifier for (XXXXXXXXXXXXXXX) has connected, now monitoring for events.
2024-06-07 11:11:11.482 16234-24940 com.onepassword.android com.onepassword.android              W  WARN  tokio-runtime-worker(ThreadId(1)) [1P:data/ext/op-account-ext-syncer/src/lib.rs:248] The B5 Notifier for (XXXXXXXXXXXXXXX) has disconnected.
2024-06-07 11:11:11.544 16234-24940 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(1)) [1P:app/op-app/src/app/backend/lock.rs:131] Lock state changed: Locked
2024-06-07 11:11:11.550 16234-24940 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(1)) [1P:app/op-app/src/app/backend/lock.rs:149] Locked. Reason: Automatic(Idle(120)).
2024-06-07 11:11:11.568 16234-28098 com.onepassword.android com.onepassword.android              E  ERROR tokio-runtime-worker(ThreadId(36)) [1P:ffi/op-core-android/src/result.rs:20] CollectionNotFound
2024-06-07 11:11:11.596 16234-24946 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(6)) [1P:app/op-app/src/app/backend/lock_screen.rs:88] System unlock is enabled: true
2024-06-07 11:11:11.601 16234-28098 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(36)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
2024-06-07 11:11:11.630 16234-24941 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(2)) [1P:app/op-app/src/app/backend/lock_screen.rs:116] Sys auth status Ready
2024-06-07 11:11:11.664 16234-24946 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(6)) [1P:app/op-app/src/app/backend/lock_screen.rs:88] System unlock is enabled: true
2024-06-07 11:11:11.665 16234-28121 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(38)) [1P:foundation/op-system-auth/src/lib.rs:325] Biometry is available for 1 or more accounts
2024-06-07 11:11:11.930 16234-24941 com.onepassword.android com.onepassword.android              E  ERROR tokio-runtime-worker(ThreadId(2)) [1P:/builds/dev/core/core/service/op-service-autofill/src/api.rs:344] Invalid request: failed to get passkey item: Failed to get item: ItemWithIdNotFound(316)
2024-06-07 11:11:14.985 16234-24946 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(6)) [1P:/builds/dev/core/core/data/ext/op-account-ext-settings-authentication/src/lib.rs:213] loaded settings authentication key: XXXXXXXXX
2024-06-07 11:11:15.011 16234-24947 com.onepassword.android com.onepassword.android              I  INFO  tokio-runtime-worker(ThreadId(7)) [1P:data/ext/op-account-ext-items/src/lib.rs:265] loaded xx items in x vaults for account: XXXXXXXXXXXXXXX
2024-06-07 11:11:15.014 16234-24947 com.onepassword.android com.onepassword.android              W  WARN  tokio-runtime-worker(ThreadId(7)) [1P:data/op-data-cache/src/unlock.rs:602] Rejecting newly unlocked account(s) because the app was locked

This is how passkey sign-in/create works with 1password

  1. Make sure 1password is authenticated recently
  2. Create passkey works
  3. Sign-in with passkey works

Another side issue - I was unable to create new passkey for the same domain/app. I always get option to update existing passkey in 1Password. GPM behaves correctly to create a new passkey if it auto-detects the credential difference.


1Password Version: 1.1.0.34-39.BETA
Extension Version: Not Provided
OS Version: Android VanillaIceCream API31.240426.023
Browser: Not Provided