https://authzed.com logo
#spicedb
Title
# spicedb
i

Igor.Shmukler

09/13/2022, 2:13 AM
hello Could use help with documentation. Looking at https://github.com/authzed/authzed-node and trying to make sense of it. Where do i set the context?
v1.NewClient('somerandomkeyhere')
should take care of the shared secret. This is great. Where do i point my client to the server running SpiceDB? Either the examples do not have it, or I cannot find it. I got other questions as well. The documentation for NodeJS package is limited. Got my draft schema close enough that checks with
zed
are all working fine. Regular examples are pretty good. Now, I want to map the
zed permission check event:27 edit user:2
command to the NodeJS library and suddenly it turns out to be a little complicated.