Skip to content

NGINX Forward Auth with multiple outpost replicas #5674

@benedikt-bartscher

Description

@benedikt-bartscher

Describe the bug
If i setup a proxy provider with multiple replicas every request seems to get reauthenticated, ending in messy loops and broken pages.
I am using nginx-ingress and i verified that session affinity is working fine. My traffic always goes to the same pod. Going back to 1 replica fixes stuff instantly.

To Reproduce
Steps to reproduce the behavior:

  • Setup a proxy Provider with forward auth mode (single app)
  • Configure Outpost replicas to 2
  • Try to visit proxied app in your browser

Expected behavior
No crazy redirect loops

Version and Deployment (please complete the following information):

  • authentik version: 2023.5.0
  • Deployment: helm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions