Skip to content

Instantly share code, notes, and snippets.

View NotActuallyTerry's full-sized avatar

Ike Johnson-Woods NotActuallyTerry

View GitHub Profile
@NotActuallyTerry
NotActuallyTerry / README.md
Last active July 3, 2024 11:56 — forked from Frando/README.md
Sync Outline groups from Keycloak via webhooks

Sync groups from Keycloak to Outline

Usage

Assuming you have a self-hosted Outline Wiki and Keycloak setup running, do the following:

  • Add the webhooks service to your docker-compose.yml
  • Save the server.ts to webhooks/server.ts (relative to your compose file)
  • Save webhooks.env into the same folder as your compose file
  • Via your webserver configuration add a subdomain, eg webhooks.wiki.yoursite.org to forward to your webhook service port 8000