使用Neo4J进行用户数据存储和Passport.Js / Node.Js身份验证是一个好主意

时间:2022-09-03 18:00:10

I want to set up user data storage and authentication with Passport.Js / Node.Js running on Express with Neo4J database. Haven't seen any examples of anyone doing that. Is there a particular reason why?

我想用Express和Neo4J数据库上运行的Passport.Js / Node.Js设置用户数据存储和身份验证。没见过任何人这样做的例子。有什么特别的原因吗?

1 个解决方案

#1


3  

If you already have a system using Neo4j and want to add authentication, it would be silly to introduce a new piece of infrastructure just to manage lists of users with their hashed passwords.

如果您已经有一个使用Neo4j的系统并想要添加身份验证,那么引入一个新的基础架构只是为了管理带有散列密码的用户列表将是愚蠢的。

As for the first example: it is entirely possible that noone has gotten around to doing this, or at least they haven't shared it. Please do the work and blog about it for future users? ;)

至于第一个例子:完全有可能没有人去做这件事,或者至少他们没有分享它。请为未来的用户做有关它的工作和博客? ;)

#1


3  

If you already have a system using Neo4j and want to add authentication, it would be silly to introduce a new piece of infrastructure just to manage lists of users with their hashed passwords.

如果您已经有一个使用Neo4j的系统并想要添加身份验证,那么引入一个新的基础架构只是为了管理带有散列密码的用户列表将是愚蠢的。

As for the first example: it is entirely possible that noone has gotten around to doing this, or at least they haven't shared it. Please do the work and blog about it for future users? ;)

至于第一个例子:完全有可能没有人去做这件事,或者至少他们没有分享它。请为未来的用户做有关它的工作和博客? ;)