-
Notifications
You must be signed in to change notification settings - Fork 40
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
rp vs. rpId #191
Comments
I believe this is just an oversight / historical artifact from the early days of the spec. CollectedClientAdditionalPaymentData came first, and I think used Adding the RP info to SecurePaymentConfirmationRequest came later, and by that time we were aware that WebAuthn's I believe we should align on the latter ( |
To align with WebAuthn, we should use the term rpId here. This is a breaking change, but implementations can mitigate the breakage by continuing to include the old 'rp' name going forwards. See #191
To align with WebAuthn, we should use the term rpId here. This is a breaking change, but implementations can mitigate the breakage by continuing to include the old 'rp' name going forwards. See #191 Test changes: web-platform-tests/wpt#35602 Implementation bugs: Chrome: https://crbug.com/1356224 Safari: N/A Firefox: N/A
This has been fixed in the specs, tests, and in Chrome. On the Chrome side, once the change is in Stable (target end of October) we will send out an announcement asking folks to switch their validation logic over, with some deprecation period TBD (probably 3-6 months). |
We use rp in CollectedClientAdditionalPaymentData
But we use rpId in SecurePaymentConfirmationRequest
type is USVString in both cases and the meaning seems to be identical, i.e. RP ID.
Why is that?
The text was updated successfully, but these errors were encountered: