{"repo":"connectrpc/authn-go","free":true,"listed":false,"github":"https://github.com/connectrpc/authn-go","clone":"git clone https://github.com/connectrpc/authn-go.git","description":"Authentication middleware for Connect.","language":"Go","stars":98,"topics":["authentication","authn","connectrpc","golang","protobuf","rpc"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"authn ===== [ ][slack] connectrpc.com/authn provides authentication middleware for Connect. It works with any authentication scheme (including HTTP basic authentication, cookies, bearer tokens, and mutual TLS), and it's carefully designed to minimize the resource consumption of unauthenticated RPCs. Middleware built with authn covers both unary and streaming RPCs made with the Connect, gRPC, and gRPC-Web protocols. For more on Connect, see the [announcement blog post][blog], the documentation on [connectrpc.com][docs] (especially the [Getting Started] guide for Go), the [demo service][examples-go], or the [protocol specification][protocol]. A small example Curious what all this looks like in practice? From a Protobuf schema, we generate a small RPC package. Using that package, we can build a server and wrap it with some basic authentication: Cookie and token-based authentication is similar. Mutual TLS is a bit more complex, but [pkg.go.dev][godoc] includes a complete example. Ecosystem [connect-go]: the Go implementation of Connect's RPC runtime [examples-go]: service powering demo.connectrpc.com, including bidi streaming [grpchealth]: gRPC-compatible health checks [grpcreflect]: gRPC-compatible server reflection [cors]: CORS support for Connect servers [connect-es]: Type-safe APIs with Protobuf and TypeScript [conformance]: Connect, gRPC, and gRPC-Web interoperability tests Status: Unstable This module isn't stable yet, but it's fairly small &mdash; we expect to reach a stab","default_branch":null,"files":null,"tree":[],"storefront":"/r/connectrpc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/connectrpc/authn-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}