feedback icon indicating copy to clipboard operation
feedback copied to clipboard

How to change the .well-known/assetlinks.json file for an environment set up with passkeys web app

Open hiro1192 opened this issue 2 years ago • 0 comments

I would like to change the following files to a format that can be accessed by the Android application.

・CodeLab Implement passkeys with form autofill in a web app

.well-known/assetlinks.json files of the environment set up in the code lab [{"relation":["delegate_permission/common.handle_all_urls","delegate_permission/common.get_login_creds"],"target":{"namespace":"web","site":"https://rogue-florentine-lupin.glitch.me"}}]

I would like to change the file format to the following so that it can work from an Android app. Is there a way to change it in the code lab environment?

[{ "relation": ["delegate_permission/common.get_login_creds"], "target": { "namespace": "web", "site": "https://rogue-florentine-lupin.glitch.me/" } }, { "relation": ["delegate_permission/common.get_login_creds"], "target": { "namespace": "android_app", "package_name": "com.dev.passkey", "sha256_cert_fingerprints": [ "01:02:0C.................................................................:01" ] } }]

hiro1192 avatar Aug 30 '23 13:08 hiro1192