Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from jordemort/traefik-forward-auth #5

Merged
merged 30 commits into from
Aug 22, 2023
Merged

Merge from jordemort/traefik-forward-auth #5

merged 30 commits into from
Aug 22, 2023

Commits on Nov 5, 2022

  1. Allow custom key to be used for whitelist and X-Forwarded-User instea…

    …d of the hardcoded email (#1)
    
    * init commit
    
    * add github workflow
    
    * fix naming
    
    * fix missing param
    
    * upgrade Go version to 1.14
    
    * tmp remove of tests
    update error message
    
    * add more specific error message
    
    * put back tests
    
    * rename User ID Key to User ID Path
    
    * upgrade dependencies
    
    * Revert "upgrade dependencies"
    
    This reverts commit 40bd110
    
    It prevents GO 1.12 from working 1.13 + 1.14 still work however.
    
    * Revert "upgrade dependencies"
    
    This reverts commit 40bd110
    
    * mention the user that is not authorized
    
    * mention the user that is not authorized
    
    * tidy error message
    
    * tidy error message
    
    * remove actions
    
    * rename UserIDPath to UserID
    remove UserID type
    rename comma delimited to comma separated
    
    * rename GetUsedID function to GetUser
    
    * revert docker golang version to 1.13
    
    * change whitelist comment to indicate userIDs instead of explicitly emails
    
    * revert go version
    
    * fix conflicts
    
    * add tests
    
    * push to docker for testing
    
    Co-authored-by: Maximilian Mitchell <[email protected]>
    Co-authored-by: Max Mitchell <[email protected]>
    Co-authored-by: Maximilian Mitchell <[email protected]>
    4 people authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    2425768 View commit details
    Browse the repository at this point in the history
  2. Domain matching should be case insensitive (#2)

    * Domain matching should be case insensitive
    
    * s/ValidateEmail/ValidateUser/
    
    Co-authored-by: Mal Curtis <[email protected]>
    jordemort and snikch authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    f66cb9a View commit details
    Browse the repository at this point in the history
  3. fix too many forward_auth cookies (#3)

    * fix too many forward_auth cookies
    
    * fix missing csrf cookie
    
    Co-authored-by: orvice <[email protected]>
    jordemort and orvice authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    0b3b8f8 View commit details
    Browse the repository at this point in the history
  4. feature: trusted ip address ranges skip authentication (#4)

    Co-authored-by: Alexander Metzner <[email protected]>
    jordemort and halimath authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    74b0194 View commit details
    Browse the repository at this point in the history
  5. Use Go 1.19 in CI (#5)

    jordemort authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    e8ab996 View commit details
    Browse the repository at this point in the history
  6. Update dependencies (#6)

    * Update dependencies
    
    * Stop testing with ancient Go versions
    jordemort authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    f3d1473 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d476ec0 View commit details
    Browse the repository at this point in the history
  8. Create dependabot.yml

    jordemort authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    a280dd5 View commit details
    Browse the repository at this point in the history
  9. Bump github/codeql-action from 1 to 2 (#8)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    3480fa8 View commit details
    Browse the repository at this point in the history
  10. Bump actions/setup-go from 2 to 3 (#9)

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    3d568c1 View commit details
    Browse the repository at this point in the history
  11. Bump actions/checkout from 2 to 3 (#10)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    c7be07a View commit details
    Browse the repository at this point in the history
  12. Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#11)

    Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
    - [Release notes](https://github.com/stretchr/testify/releases)
    - [Commits](stretchr/testify@v1.8.0...v1.8.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/testify
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    c7b6e99 View commit details
    Browse the repository at this point in the history
  13. Fix most of the issues CodeQL dislikes (#12)

    * Fix most of the issues CodeQL dislikes
    
    * Escape ipAddr closer to source
    jordemort authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    4cea39d View commit details
    Browse the repository at this point in the history
  14. Validate redirect domain (#13)

    * Validate redirect domain
    
    This change introduces a validation step prior to redirect as
    discussed in thomseddon#77
    
    * Fix tests
    
    * Try harder to make CodeQL happy
    
    * Fix tests
    
    * Try just a little bit harder to appease CodeQL
    
    Co-authored-by: Thom Seddon <[email protected]>
    jordemort and thomseddon authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    7a01be9 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. Configuration menu
    Copy the full SHA
    744d0af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bd0c35 View commit details
    Browse the repository at this point in the history
  3. Update README (#16)

    * Update README
    
    * Further README tweaks
    jordemort authored Nov 6, 2022
    Configuration menu
    Copy the full SHA
    68ca6b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Update README.md

    jordemort authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    999bfe8 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Bump docker/setup-buildx-action from 2.0.0 to 2.2.1 (#17)

    Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.0.0 to 2.2.1.
    - [Release notes](https://github.com/docker/setup-buildx-action/releases)
    - [Commits](docker/setup-buildx-action@v2.0.0...v2.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: docker/setup-buildx-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 12, 2023
    Configuration menu
    Copy the full SHA
    c5805c2 View commit details
    Browse the repository at this point in the history
  2. Bump github.com/traefik/traefik/v2 from 2.9.4 to 2.9.6 (#21)

    Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik) from 2.9.4 to 2.9.6.
    - [Release notes](https://github.com/traefik/traefik/releases)
    - [Changelog](https://github.com/traefik/traefik/blob/master/CHANGELOG.md)
    - [Commits](traefik/traefik@v2.9.4...v2.9.6)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/traefik/traefik/v2
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 12, 2023
    Configuration menu
    Copy the full SHA
    d2b0f9f View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Bump golang.org/x/oauth2 from 0.1.0 to 0.4.0 (#22)

    Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.1.0 to 0.4.0.
    - [Release notes](https://github.com/golang/oauth2/releases)
    - [Commits](golang/oauth2@v0.1.0...v0.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/oauth2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 13, 2023
    Configuration menu
    Copy the full SHA
    d793555 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Add .github to .dockerignore

    ciffelia authored and mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    8002ac0 View commit details
    Browse the repository at this point in the history
  2. Add actions workflow to build and push docker image

    This workflow builds multi-arch docker image on every push and pull request.
    Also, this workflow pushes image to docker hub with appropriate semver tags on tag push.
    ciffelia authored and mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    27517ce View commit details
    Browse the repository at this point in the history
  3. Publish to ghcr

    Beanow authored and mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    f3ee200 View commit details
    Browse the repository at this point in the history
  4. chore(ci): use own registry

    mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6f3d8d7 View commit details
    Browse the repository at this point in the history
  5. Add SameSite option

    heralight authored and mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    61fdff0 View commit details
    Browse the repository at this point in the history
  6. docs: updates readme

    mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    355b680 View commit details
    Browse the repository at this point in the history
  7. Update README.md

    mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    5cb0ea8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8c246d0 View commit details
    Browse the repository at this point in the history
  9. remove docker workflow

    mkska committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    097824c View commit details
    Browse the repository at this point in the history