ts-odd icon indicating copy to clipboard operation
ts-odd copied to clipboard

Expose complete user address

Open rosano opened this issue 4 years ago • 4 comments

Re: @bmann's comment:

Technically usernames are @fission.name although that isn’t exposed anywhere

perhaps state.username could present the domain portion as well. This would allow me to make my funding button work with webnative without hard-coding the domain.

rosano avatar Mar 07 '21 15:03 rosano

Yeah this is a good idea.

I don’t know if it is a username so I think a different variable — federationuser or something like that.

The portable unique identifier is the DID for the account. The username is a label that we’ve decided to make unique for compatibility / UX reasons.

hmmm. I guess “[email protected]” or “[email protected]” is the full federation user ID?

bmann avatar Mar 07 '21 16:03 bmann

hmmm. I guess “[email protected]” or “[email protected]” is the full federation user ID?

I guess if Fission supported Webfinger then the app would probably initiate the process outside of webnative and have one of these on hand already. But until then, either one would would be useful.

rosano avatar Mar 07 '21 17:03 rosano

Perhaps related: if the username/address was encrypted rather than stored in plaintext, the recipient could assume it is the actual identity? Again with my funding system, I can tie things to state.username or address without wondering whether someone overwrote it.

rosano avatar Mar 11 '21 13:03 rosano

Yes. Broadly speaking I think we'd follow Verified Credentials for this, which basically links data to an ID.

bmann avatar Mar 11 '21 15:03 bmann