Add a slot for a second traefik-forward-auth #31

Merged
3wordchant merged 3 commits from forward-auth-2 into master 2021-11-24 15:10:55 +00:00
Owner

Closes #30

Situation:

  • You already have one traefik-forward-auth instance, let's say auth.example.com on a server, let's say swarm.example.com, to put sites behind a Keycloak login, e.g. id.example.com
  • You've got a second Keycloak on the same server (or elsewhere), let's say id.client.com
  • You want to put some sites on swarm.example.com behind the second Keycloak login.

This patch adds a second "slot" for a traefik-forward-auth, by defining a keycloak2 middleware.

Seems to be working fine so far; login.vrec.coop is behind id.vrec.coop login, on the same server as other sites protected by id.autonomic.zone.

Obviously no help whatsoever if people need to add a THIRD traefik-forward-auth, but at least it solves the immediate need 🤷

Closes #30 Situation: - You already have one traefik-forward-auth instance, let's say `auth.example.com` on a server, let's say `swarm.example.com`, to put sites behind a Keycloak login, e.g. `id.example.com` - You've got a second Keycloak on the same server (or elsewhere), let's say `id.client.com` - You want to put some sites on `swarm.example.com` behind the second Keycloak login. This patch adds a second "slot" for a traefik-forward-auth, by defining a `keycloak2` middleware. Seems to be working fine so far; `login.vrec.coop` is behind `id.vrec.coop` login, on the same server as other sites protected by `id.autonomic.zone`. Obviously no help whatsoever if people need to add a THIRD traefik-forward-auth, but at least it solves the immediate need 🤷
3wordchant added 3 commits 2021-11-23 10:46:02 +00:00
decentral1se approved these changes 2021-11-24 15:09:54 +00:00
decentral1se left a comment
Owner

🚀

🚀
3wordchant merged commit 36c7b740ab into master 2021-11-24 15:10:55 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/traefik#31
No description provided.