Document username behaviour
Closed this issue · 1 comments
icidasset commented
The current username strategy allows anyone to register the same username (Discord strategy).
This might or might not be expected to some developers.
Original issue on Webnative from @bmann:
A person can register "boris" for the same app / domain (eg webnative-template.fission.app) from any device.
This is because the hash function includes the DID, which is unique per device.
We need to document and correct the hash function and goals.
As I understand it, this looks like "boris" + "example.com" to generate a subdomain like HASHNAME.fission.name.
Then for future registrations the HASHNAME is computed locally and DNS subdomain is checked to see if it exists or not.
icidasset commented
Done, see "Usernames" section in readme.