Sign-In and Security Done Right: Free Sample (Passkeys, from the App to the Server)
A free sample of Sign-In and Security Done Right: Credential Manager, Passkeys, Sign in with Google, Biometrics, the Keystore, Network Security and Play Integrity for Android Apps.
Inside: the cover and full table of contents, and all of Chapter 2, "Passkeys, from the App to the Server": WebAuthn in one figure, what you need before you start, server-generated registration options, creating the passkey with CreatePublicKeyCredentialRequest, handling creation failures, verifying and storing the credential with SimpleWebAuthn, the android:apk-key-hash origin, signing in with GetPublicKeyCredentialOption and server verification, offering and managing passkeys, Restore Credentials, and testing, with the diagrams and the real commands.
The full 75-page book (PDF and EPUB, 25 diagrams) is $19 at https://payhip.com/b/oZl1J
The full book is also in a bundle: Everything Bundle: every ebook in the store, $89 ยท Android Bundle, $49.