Open nbroad1881 opened 1 month ago
Adding this block in here and appending the layer should achieve this.
One negative effect of this is that the healthcheck and info endpoints get auth included.
I would propose having a slightly different approach to TEI and only adding the Auth Layer at the route level for non information endpoints. I could start a PR for this next week.
Feature request
TEI has the
API_KEY
argument:It would be nice if TGI had this as well.
Motivation
It enables custom authorization of the endpoint.
Your contribution
sry