This repository shows how to integrate a service written in Go with OPA to perform API authorization.
Build the example by running go build ./cmd/exmaple-api-authz-go/...
Run the example with a configuration file:
./example-api-authz-go -config config.yaml