You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the email address of a user can change, and there is no other attribute of the user object that remains immutable, we need to introduce a new, immutable id attribute.
In the future, once we have decentralized ids and the API functions as a proper IDP, we'll need to research further into this topic and decide whether we can use the DID as the unique and only identifier or we'd rather keep the centralized ID of each user and associate it with a DID instead.
Right now, we need a more immediate solution.
A bit of research on centralized but collision resistant identifiers needs to be done. The ObjectId generated by MongoDB may do the job just fine, though.
Once we have the new ID in place, we should add it to the API Tokens and update the authorization middleware's validation not to verify the token's email but the immutable ID instead.
The text was updated successfully, but these errors were encountered:
Since the email address of a user can change, and there is no other attribute of the
user
object that remains immutable, we need to introduce a new, immutableid
attribute.In the future, once we have decentralized ids and the API functions as a proper IDP, we'll need to research further into this topic and decide whether we can use the DID as the unique and only identifier or we'd rather keep the centralized ID of each user and associate it with a DID instead.
Right now, we need a more immediate solution.
A bit of research on centralized but collision resistant identifiers needs to be done. The
ObjectId
generated by MongoDB may do the job just fine, though.Once we have the new ID in place, we should add it to the API Tokens and update the authorization middleware's validation not to verify the token's email but the immutable ID instead.
The text was updated successfully, but these errors were encountered: