Dokploy / Dokploy/dokploy

Traefik Configurable Forward Auth

Open
#1,409 3 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
37.4k
Forks
3k
Avg merge
1d 3h
Merged PRs (30d)
73

Description

What problem will this feature address?

Sometimes you might want to protect certain applications using an external auth provider.

Describe the solution you'd like

Using traefik-forward-auth, we can add authorization middleware. Multiple providers can be configured.

Add the following components:

  • User- or Organisation-based configurable Auth providers
  • Add provider configuration as per the traefik-forward-auth docs
  • Offer auth providers in Application > Advanced > Security setting.
  • Autodeploy a traefik-forward-auth docker service as per the configured provider
Describe alternatives you've considered

This is currently possible by creating a traefik-forward-auth application, and adding a middleware in Traefik File System > dynamic/middlewares.yml, but would be nice if configurable in a form-based solution.

Additional context

Image

I guess this fits in with #274.

Will you send a PR to implement it?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Application > Advanced > Security settings and the existing Traefik File System > dynamic/middlewares.yml approach first. Compare the requested provider configuration with the traefik-forward-auth Provider Setup documentation. Done means configurable user- or organisation-based providers, an automatically deployed traefik-forward-auth service, and middleware support for applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
authentication, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.