-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request direct attestation does not work #49
Comments
That is odd. Can you point me to the server? |
You probably changed the line: https://github.com/googlecodelabs/fido2-codelab/blob/master/libs/auth.js#L245 |
Thank your for your answer. I noticed that even if the backend returns direct attestation in registration options, Android code ignores that (see: https://github.com/googlecodelabs/fido2-codelab/blob/master/android/app/src/main/java/com/example/android/fido2/api/AuthApi.kt#L312) I made some changes on Android app only (see here: https://github.com/anaselhajjaji/fido2-codelab/pull/1/files) and when debugging I saw android-safetynet returned but there is an issue on backend code about certificate verification, hopefully I'll try to find some time to fix the backend as well. |
Hello
If I change in the method
router.post('/registerRequest')
to force the attestation to directlet attestation = 'direct';
I added in the
router.post('/registerResponse')
the following code:console.log(registrationInfo.aaguid);
the result is:
00000000-0000-0000-0000-000000000000
I think the attestation statement is not retrieved even if we ask for it... Can you tell why this happens?
Is it a limitation of the FIDO2 API for Android?
Thank you.
The text was updated successfully, but these errors were encountered: