authzed / authzed-go Goto Github PK
View Code? Open in Web Editor NEWOfficial SpiceDB client library for Go
Home Page: https://docs.authzed.com/reference/api
License: Apache License 2.0
Official SpiceDB client library for Go
Home Page: https://docs.authzed.com/reference/api
License: Apache License 2.0
Also include instructions about how to build locally modified protos.
In the ideal case, we want the Go dependencies to match the versions used for the buf remote plugins to generate code.
because magefiles/go.work
includes the parent folder, any dependabot update will not be mergeable without manual intervention because builds will fail as magefiles/go.work.sum
needs to be updated.
magefiles/go.work
was added so that the various linters can act upon resources in a different folder
NewClient
supports arbitrary client-side gRPC middleware. The README shows off using grpcutil's middleware, but not a variety of middleware available for things like retries and backoff.
Posted this to /authzed-rb, but this is the repo linked in https://github.com/authzed/api/blob/main/CONTRIBUTING.md, so I'm posting here as well:
https://github.com/authzed/authzed-go/blob/main/README.md#performing-an-api-call <- this references a &pb
using this in a project leads to this outcome:
the recommended package is actually wrong, the right way is to simply use &v1
instead, see
Will provide a PR shortly.
v0 is now deprecated and no longer being mantained. We can spare the maintenance of v0 tests if delete them.
This repository does not have an exhaustive set of examples on how to use the API. Some examples of how to use the authzed-go
SDK are found in https://authzed.com/docs/guides/first-app but are not discoverable from this repository.
add a test for the new extended object ID regex using Go fuzzing https://go.dev/security/fuzz/
I have a spicedb instance running locally like so spicedb serve --grpc-preshared-key <preshared-key>
but I'm unable to connect to it.
I've tried passing grpc.WithTransportCredentials(insecure.NewCredentials())
and grpc.WithInsecure()
to authzed.NewClient
:
client, err := authzed.NewClient(
"localhost:50051",
grpcutil.WithBearerToken(<preshared-key>),
grpc.WithTransportCredentials(insecure.NewCredentials()),
)
but I always get:
grpc: the credentials require transport level security (use grpc.WithTransportCredentials() to set)
.
I see there's an open issue to document this process: #53.
What I'm I missing?
There needs to be a GitHub action on this repository that uses action-spicedb for end-to-end testing of clients.
The grpcutil dependency is out of date and is still attempting to import a package from the grpc package that no longer exists. The grpcutil repo was already updated, but this repo didn't update the dependency.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.