typedb/typedb-driver-nodejs

Support user token mechanism for faster authentication

Closed this issue · 0 comments

Authenticating a user by verifying their password introduces a significant overhead, which comes from the fact that the password is hashed with cryptographic hash function. In effect, opening a new session or transaction becomes much slower.

We need to improve the speed of user-authentication by introducing a mechanism where the verification is only done once when a client connects to the server for the first time.