w3c-fedid / FedCM

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

Validate email addresses before displaying them #607

Open samuelgoto opened 6 months ago

samuelgoto commented 6 months ago

We should validate if email addresses are well formed before displaying them.

We also want to allow for extensible ways to represent users, so we should also support a free-text descriptor like username (as suggested here), but there is value in enforcing that email addresses are well formed.

npm1 commented 5 months ago

What do you propose doing if an email field is detected to contain something that is not an email address?

wparad commented 5 months ago

And can I ask, what does this have to do with the username usage, which feels much more important.