f-23 / react-native-passkey

Passkeys for React Native
MIT License
135 stars 31 forks source link

Android example error: androidx.credentials.exceptions.domerrors.SecurityError #31

Closed Turtus closed 1 month ago

Turtus commented 7 months ago

trying to add passkey to our application but encounting errors, so tried example and all ive got is (same as mine tests)

LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"} LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"} LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"} LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"} LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"} LOG {"error": "Native error", "message": "androidx.credentials.exceptions.domerrors.SecurityError@1469d41"}

test device: moto g72 / android 13

Turtus commented 7 months ago

that is responce for const result = await Passkey.register(requestJson) call with dummy data(

Doankimtuan commented 7 months ago

I'm also having the same problem

TNAJanssen commented 7 months ago

Same issue here

rahulkumar1409 commented 6 months ago

any update on this ? this issue is increasing

rahulkumar1409 commented 6 months ago

@f-23 anyone found any solution?

rahulkumar1409 commented 6 months ago

check android studio Log- found [DigitalAssetsAssociationChecker] JSON Object doesn't have linked key [Fido2RequestController] RpId validation failed [RequestControllerResponseUtils] The incoming request cannot be validated [RequestControllerResponseUtils] The incoming request cannot be validated

armeo commented 5 months ago

Check your RpId in PasskeyRegistrationRequest and .well-know; they are the same.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.