Questions tagged [traefik-authentication]

23 questions
0
votes
1 answer

Missing Authorization header with ForwardAuth in Traefik

I have following traefik setup: mybackend - golang backend myauth - dedicated auth backend validating jwt token. all run with traefik. I want all requests first pass through myauth backend to validate jwt token / rate limit users before reaching…
basilboli
  • 614
  • 1
  • 6
  • 21
0
votes
0 answers

Add security layer on traefik

I'm developing an api with several microservices, I use Trafik for routing the services. My question is if I can add a security layer that validates the authentication token before the request is dispatched. The idea is to have a custom middleware…
iBet7o
  • 758
  • 8
  • 9
0
votes
1 answer

How to configure forward auth in Traefik 2?

I'm migrating an old API to Traefik 2 and I can't get forward auth to work. The configuration below is pretty much the equivalent of what we had with Traefik 1.7, but I keep getting "404 page not found" for everything unless I comment out the entry…
Steffen
  • 1,328
  • 3
  • 12
  • 29
0
votes
1 answer

traefik HTTP POST request net::ERR_CONNECTION_RESET

I am trying to install This docker image which runs on port 3000 for http and 3001 for https. I need to run just HTTP version on a LocalNetwork. I am getting network error in browser console when upload test is running. version: "3.3" services: …
0
votes
1 answer

Basic auth not working in my second docker-compose file for my web app

So I have 2 configurations, the first docker-compose configuration sets up traefik and it has basic auth middleware set up properly and working But the second I set up basic auth properly and the website runs very well on https and all but the basic…
0
votes
1 answer

Authentication failure with OAuth to Traefik dashboard

I am trying to get Traefik setup in a Docker and am having a heck of a time. Following this guide and using Cloudflare (DNS only to trafeik.mydomain.com), to connect, I am getting "This site can't be reached oauth.mydomain.com's server IP address…
StackExchangeGuy
  • 741
  • 16
  • 36
0
votes
3 answers

Traefik basic auth on path

I'm trying to password protect a specific path for an app, but it seems I am missing something and the traefik documentation is not helpful: Paste from docker-compose: traefik: command: - "--log.level=INFO" - "--providers.docker=true" -…
Amadeaus
  • 43
  • 1
  • 7
0
votes
1 answer

How to configure traefik authentication to work with webdav in docker compose?

I want to build a private webdav server behind traefik with authentication. Here is the docker-compose.yml file: version: '3.7' services: reverse-proxy: image: traefik:v2.2 command: --api.insecure=true --providers.docker labels: …
1
2