Skip to content

Handling of origin in Native Mobile Platform App to App flows for DC API #646

@tplooker

Description

@tplooker

When using OpenID4VP to accomplish an App to App flow (e.g where the verification application is a native mobile application rather than a web application), the origin used in the DC API flow takes a different form to when using the W3C DC API on the web.

In Appendix A currently all the examples are focused around using the W3C DC API via the web, so the origin is always a web origin, e.g origin1.example.com.

However, when performing an App to App flow, the origin is mobile platform specific.

For example on Android using the Android Credential Manager, the origin that wallets are using, such as CMWallet follows the following syntax

android:apk-key-hash-sha256:<base64_encoded_sha256_hash-of-apk-signing-cert>

See here for a reference.

Which in turn looks to be based on the FIDO standard which is used for solving a similar problem for FIDO credentials.

Currently in VP we have text that notes the origin is platform specific in these scenarios, however we could improve guidance here either pointing externally or adding some text describing how to handle the origin in these cases.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions