HATIDs as UserId instead of Email: Re: UserPassHandler


Hi @snaiste/@andrius,

In the UserPassHandler, we are using email as our “userid”, coupled with password to check for owner.

We have always want to promote the HATId as our global identifier for HATs. Would it make sense to use the HATid as our userid instead?

PS HATId being in the form terry.y.z



Hi @Terry_Lee,

Yes, that change is possible. As a matter of fact, in the current deployments we actually use that field as a “username” anyway, not as an email, though not in a fully-qualified domain name form.

The change itself has been too minor in to warrant an api and documentation update, so it will be part of a more comprehensive changeset for our roll-out in July.