Utilizes FastAPI to create an OIDC wrapper around Kotaemon ( https://github.com/Cinnamon/kotaemon ). Can be deployed using docker compose after setting a few variables in the docker-compose.yml.
- Clone the repo, then cd into the kotaemon-docker-compose-oidc directory.
- Edit the docker-compose.yml to update the OIDC related environment variables
- Run "docker compose up -d" to launch the container
- Browse to http://localhost:8000/
Setting | Value | Note |
---|---|---|
SECRET_KEY | Random value to secure session | |
OPENID_CLIENT_ID | Client ID provided by your IdP | |
OPENID_CLIENT_SECRET | Secret provided by your IdP | |
OPENID_CONFIG_URL | URL to the open ID metadata configuration resource |