Skip to content

(feat) SSO Integration with Forward Auth #155

@enchant97

Description

@enchant97

To allow SSO integration using Forward Auth. Most auth providers like Authelia can handle this.

Example Traefik middleware & router:

# !!! untested example !!!
http:
  middlewares:
    authelia:
      forwardAuth:
        address: http://authelia:9091/api/authz/forward-auth
        trustForwardHeader: true
        authResponseHeaders:
          - Remote-User
  routers:
    myapp:
      rule: "Host(`app.example.com`)"
      service: myapp
      middlewares:
        - authelia

This would then be handled in the app by using "Remote-User" header to decide whether a user is authenticated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions