d.rymcg.tech icon indicating copy to clipboard operation
d.rymcg.tech copied to clipboard

Fix multiple TFA instances

Open mcmikemn opened this issue 1 year ago • 0 comments

If traefik-forward-auth is installed on multiple servers hosting apps in the same domain, all the TFAs default to the same cookie name ("_forward_auth") but each has a different secret. This setup causes the different servers in the same domain to interfere with each other's cookies.

One solution is to give each TFA instance the same secret.

The solution we're going to use is to keep each TFA with its own secret but each will have a unique cookie name.

mcmikemn avatar Jul 27 '24 01:07 mcmikemn