# ask-the-community

Ethan Brown

03/08/2024, 12:50 AM
We're working on build some custom authz around flyteadmin APIs ... and started down the path of a custom API gateway. This is definitely viable (and an approach we've used before), but I think having both grpc and grpc-gateway in use inside flyteadmin makes for some extra work on our end. If we need to inspect requests, it's not just peeking at JSON, but also bringing in various protobuf defs from flyteidl, etc. What would be nice is the ability to plug grpc interceptors into flyteadmin. Since I know that's not possible -- I'm wondering if anyone has built their own flyteadmin binaries with custom interception in place? Any alternatives people have looked at for solving this problem?

Ketan (kumare3)

03/08/2024, 1:04 AM
i think it is possible to plug grpc interceptors
you will have to rebuild the binary