/traefik-front-auth

Traefik auth proxies examples with keycloak

MIT LicenseMIT

Traefik front auth proxy examples

This repository provides two examples of traefik used as a an authentification proxy delegating auth to a bundled keycloak.

Usage

  1. Check .env.sample file from each directory and use them to create your own .env file.
  2. Deploy the stack with docker compose up -d (you might need to do it a few time as there is no proper waiting for keycloak to be available as the image does not come with curl or wget with installed)
  3. Connect to keycloak
  4. Create a client and note the client-id and client-secret

Resources