w3c-fedid / FedCM

A privacy preserving identity exchange Web API
https://w3c-fedid.github.io/FedCM/
Other
375 stars 72 forks source link

is `IdentityCredentialRequestOptionsContext` for FedCM UI only? #603

Open panva opened 5 months ago

panva commented 5 months ago

This context, which the RP can select one of from a predefined list, controls the wording in the browser UI.

It would be helpful to get this RP-selected context in the login_url as well as at the assertion endpoint to discern between the language used on the login page as well as in the possible Continuation API triggered popup that renders IdP-provided UI.

npm1 commented 5 months ago

It is for FedCM UI only, yea. It seems plausible to have it in some of those, if you have specific use cases in mind?

panva commented 5 months ago

It is for FedCM UI only, yea. It seems plausible to have it in some of those, if you have specific use cases in mind?

Knowing our customers they'll want to have the copies aligned. Having the same hint that was given to fedcm is a straight forward way of aiding that.

npm1 commented 5 months ago

Copies of what? I'm not following.

panva commented 5 months ago

Copies of what? I'm not following.

Apologies, I meant the used language/text

samuelgoto commented 5 months ago

Yeah, this seems like a somewhat trivial and harmless (in theory, it increases a bit of entropy in the login_url, but I think it is plausible) change to make.