cog
cog copied to clipboard
How to add authentication to the HTTP endpoint?
Is there a built-in way to add authentication to the HTTP endpoint? Just a simple bearer token read from an environment variable or similar.
Since it launches a web server based on uvicorn + FastAPI, this should be possible, right?