You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a website retrieves a PSL matched credential via a user mediated get() and then calls store() on the credential, the credential can become eligible for unmediated provisioning.
Assume the user is on www.example.com and has a password stored for m.example.com. In this case, an account chooser dialog can offer the credential for m.example.com. Assume the user clicks on it and the site calls store(). Should the user be asked whether to store the credential in this case?
This is a good point. https://w3c.github.io/webappsec-credential-management/#user-mediated-storage is being vague about the scope of the user consent. It says "Credential information must not be stored [...] without explicit user consent," and "the user agent may request a more persistent grant of consent."
Imagine that during saving the first credential, for m.example.com, the user agent asks: "Do you want to store the credentials for "username" on example.com?" If the user says yes, then the user agent may assume that the consent covers all cases when the top domain is example.com and the username is "username". Not prompting on www.example.com would still be in accordance with the spec.
If a website retrieves a PSL matched credential via a user mediated
get()
and then callsstore()
on the credential, the credential can become eligible for unmediated provisioning.Assume the user is on www.example.com and has a password stored for m.example.com. In this case, an account chooser dialog can offer the credential for m.example.com. Assume the user clicks on it and the site calls
store()
. Should the user be asked whether to store the credential in this case?It may feel strange because the credential appeared to be stored already. At the same time, https://w3c.github.io/webappsec-credential-management/#user-mediated-storage prescribes that all stores need consent. Should we add an exception that PSL matched credentials may be persisted silently to https://w3c.github.io/webappsec-credential-management/#security-cross-origin-leakage ?
The text was updated successfully, but these errors were encountered: