Rahul Deep Singh
Rahul Deep Singh

Reputation: 190

Android Application - Create Passkey Issue

As part of a POC I am trying to implement a functionality to create passkey from Android native mobile application. But I am getting following error code when I execute the passkey code:

androidx.credentials.exceptions.publickeycredential.CreatePublicKeyCredentialDomException: [50152] RP ID cannot be validated.  same error 

This how the Digital Asset Links configuration looks like:

    {"relation" : [     
 "delegate_permission/common.handle_all_urls",
"delegate_permission/common.get_login_creds"],"target" : {
    "namespace" : "android_app",
          "package_name" : "package name",
          "sha256_cert_fingerprints" : [
            "SHA1 fingerprint"
          ]
        }
      },
      {
        "relation": [
          "delegate_permission/common.handle_all_urls",
          "delegate_permission/common.get_login_creds"
        ],
        "target": {
          "namespace": "web",
          "site": "domain name"
        }
      }
    ]

Google Developer Link For Passkey Medium Link for Passkey Implementation

Upvotes: 0

Views: 60

Answers (0)

Related Questions