I am 开发者_运维技巧a bit new to the world of Android programming, so forgive me if I am not seeing something obvious.
I am trying to make an Android app and an associated website that will have a sign-in flow for users. I became interested in implementing passkeys as one option for authentication.
However, first I wanted to try out passkeys. So, I picked a website that I could think of that has implemented passkeys (bestbuy.com), and I used Chrome on Android and saved the passkey to my Google account on the Password Manager.
Afterwards, I needed to change phones. I was changing phones from a Google Pixel 6 to a Google Pixel 7. So I removed my Google account from the Pixel 6 and signed into the Google Pixel 7 with the same Google account. I should mention that I had enabled on-device encryption with the Google Pixel 6.
However, once I went to sign-in with the passkey on Best Buy website, I encountered this
. It did not ask me for my screen lock on the previous phone.So then I signed in once again to my Google Pixel 6, then I tried logging into the Best Buy website on my Google Pixel 6, again with Chrome. This time also, the same error message came up.
At this point, I deleted the passkey from Best Buy's website and I tried registering the passkey again on Pixel 6. I also went to the Google Password Manager in Android settings, deleting the entry for Best Buy. However, even then I encountered this error.
I also tried saving a new passkey on a completely different website (Microsoft), and it too threw up this same error message.
I cleared my Chrome cache and settings, and it still gave the same error message when trying to save a new passkey.
I should mention that perhaps when I removed the Google account from the Pixel 6, I may have deleted the private key messing with the end-end encryption from the on-device encryption, but even then, I am not sure how that can explain why I can't create new passkeys.
精彩评论