Giter Site home page Giter Site logo

authzed / authzed-go Goto Github PK

View Code? Open in Web Editor NEW
71.0 9.0 22.0 1.8 MB

Official SpiceDB client library for Go

Home Page: https://docs.authzed.com/reference/api

License: Apache License 2.0

Go 99.79% Smarty 0.21%
authorization permissions golang go authzed zanzibar sdk spicedb authzed-client spicedb-client

authzed-go's People

Contributors

alecmerdler avatar chancesm avatar dependabot[bot] avatar dguhr avatar ecordell avatar jakedt avatar jon-whit avatar jonwhitty avatar josephschorr avatar jzelinskie avatar ryaneorth avatar samkim avatar vroldanbet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

authzed-go's Issues

dependabot updates are not mergeable due to go.work.sum in magefiles

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

Add examples using gRPC middleware

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.

remove tests for v0

v0 is now deprecated and no longer being mantained. We can spare the maintenance of v0 tests if delete them.

Connect to an insecure local SpiceDB

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?

The grpcutil dependency is out of date and broken

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.