Hello,
I'm following this tutorial:
https://developer.android.com/training/sign-in/passkeys
It mentions the following required step:
// Get passkeys from the user's public key credential provider.
GetPublicKeyCredentialOption getPublicKeyCredentialOption =
new GetPublicKeyCredentialOption(requestJson,
preferImmediatelyAvailableCredentials);
And then it gives an example of JSON request:
{
"challenge": "T1xCsnxM2DNL2KdK5CLa6fMhD7OBqho6syzInk_n-Uo",
"allowCredentials": [],
"timeout": 1800000,
"userVerification": "required",
"rpId": "credential-manager-app-test.glitch.me"
}
But it's not clear how to generate the "challenge" and what to put in
"rpId".
Any help would be greatly appreciated!
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/ea574863-72db-4b7c-84f7-16596ee96bd7n%40googlegroups.com.