Skip to content
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

Support for Secure Payment Confirmation #267

Open
benfoster opened this issue Nov 23, 2021 · 3 comments
Open

Support for Secure Payment Confirmation #267

benfoster opened this issue Nov 23, 2021 · 3 comments

Comments

@benfoster
Copy link

benfoster commented Nov 23, 2021

Secure Payment Confirmation builds on top of WebAuthN and uses the Payment Request API to allow payments to be authenticated.

I've been able to adapt the demo application to use SPC but unfortunately the verification of the assertion fails because the type is no longer webauthn.get but payment.get (see AuthenticatorResponse).

Is it possible to override this verification or add support for additional client data types?

@aseigler
Copy link
Collaborator

Yeah, looks completely doable, and the architects built it to be so compatible by design.

@thomasnymand
Copy link

I have also stumbled on this issue. Any new considerations regarding possible override option or workaround?

@abergs
Copy link
Collaborator

abergs commented Aug 3, 2024

I haven't paid too much attention to SPC. If someone is interested in doing a PoC Draft PR to show how we would implement this in a clean way I'd be interested in reviewing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants