fancy
fancy

Reputation: 51333

Does dnode have authentication middleware?

I'm building an express app that uses everyauth and would like to use dnode. I want to be able to use the req.loggedIn boolean set up, but for dnode rpc calls.

Can this be done by having dnode listen to express? Can it access express middleware stuff??

Upvotes: 4

Views: 351

Answers (1)

Burcu Dogan
Burcu Dogan

Reputation: 9213

a dnode node can only access objects you've passed during the RPC call. If you would like to share application's auth state, you're free to that.

Upvotes: 0

Related Questions