This project is modified from Frando's Outline Webhook example. It provides a simple webhook server built with Deno.
- A keycloak client configured in your realm with service account permissions to access keycloak user groups
- A webhook configured in outline (note that the container expects the webhook to come to /webhook)
- Build the Docker image:
docker build -t outline-webhook . - Run the Docker container:
docker run -p 8000:8000 outline-webhook
- The server will be accessible on port
8000.
DENO_ENV: Set toproductionby default in the Dockerfile.WEBHOOK_SECRET: Your Outline webhook secret.OUTLINE_ENDPOINT: The API endpoint of your Outline instance (e.g.,https://your-outline-instance.com/api).OUTLINE_API_TOKEN: Your Outline API token.KEYCLOAK_ENDPOINT: The endpoint of your Keycloak instance (e.g.,https://your-keycloak-instance.com).KEYCLOAK_REALM: Your Keycloak realm.KEYCLOAK_CLIENT_ID: Your Keycloak client ID.KEYCLOAK_CLIENT_SECRET: Your Keycloak client secret.
This project is inspired by and based on Frando's Outline Webhook example. Special thanks to Frando for the original implementation.