Skip to content
  1. Mar 11, 2019
  2. Mar 08, 2019
  3. Mar 06, 2019
  4. Mar 05, 2019
    • dt-rush's avatar
      fix redirect url param handling (#10) · 54976666
      dt-rush authored
      * Added conditional to prevent user-supplied redirect URL getting
      clobbered
      
      Change-type: patch
      
      * use redirectURL as OAuthCallbackURL (as it should be!)
      
      Change-type: patch
      54976666
    • Ben's avatar
      Small clarification around health checks (#84) · 66c5eb31
      Ben authored
      Type: docs
      I simply added the word health check. I was searching all over the
      package for a health check, to only realise that it had been called
      ping. I think the small addition might help others avoid my troubles.
      66c5eb31
    • Gabor Lekeny's avatar
      eacba4ec
    • Karl Skewes's avatar
      Potentially breaking change: docker user & group · 80b5873a
      Karl Skewes authored
      Run as non-root user and group
      
      In the unlikely event that you are currently persisting data to disk then this
      change may break file read/write access due to a change in the UID/GID that the
      oauth2_proxy process runs as.
      
      Run as non-root system user and group `oauth2proxy` with UID/GID `2000` to avoid clashing with typical local users.
      An alternative to creating a separate user is to ~~chown binary and~~ run as `USER nobody`, which also works, can amend this PR if required.
      
      Least access privileges.
      Close: https://github.com/pusher/oauth2_proxy/issues/78
      
      Locally with Docker (`-version`):
      ```
      $ ps aux | grep oauth2
      2000     25192  6.0  0.0      0     0 ?        Ds   15:53   0:00 [oauth2_proxy]
      ```
      
      Running in Kubernetes 1.13 with the following also specified:
      ```
              securityContext:
                readOnlyRootFilesystem: true
                runAsNonRoot: true
                runAsUser: 10001
      ```
      ```
      $ kubectl exec -it -n oauth2-proxy oauth2-proxy-85c9f58ffc-dz9lr sh
      /opt $ whoami
      whoami: unknown uid 10001
      /opt $ ps aux
      PID   USER     TIME  COMMAND
          1 10001     0:00 /opt/oauth2_proxy --whitelist-domain=.example.com --cookie-domain=example.com --email-domain=example.com --upstream=file:///dev/null --http-address=0.0.0.0:4180
         11 10001     0:00 sh
         17 10001     0:00 ps aux
      ```
      
      <!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
      <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
      
      - [x] My change requires a change to the documentation or CHANGELOG.
      - [x] I have updated the documentation/CHANGELOG accordingly.
      - [x] I have created a feature (non-master) branch for my PR.
      80b5873a
  5. Mar 04, 2019
    • Marcel D. Juhnke's avatar
      Add -skip-oidc-discovery option (#41) · 8816a2a9
      Marcel D. Juhnke authored
      
      
      * added karrieretutor go-oidc fork for using an AAD B2C Policy
      
      * added karrieretutor go-oidc fork for using an AAD B2C Policy
      
      * added --skip-oidc-discovery option
      
      * added --skip-oidc-discovery option
      
      * add simple test for skip-oidc-discovery option
      
      * revert Dockerfile to pusher upstream
      
      * revert Dockerfile to pusher upstream
      
      * remove karrieretutor b2c option leftover
      
      * remove karrieretutor b2c option leftover
      
      * Fix typo (missing letters)
      
      Co-Authored-By: default avatarmarratj <marrat@marrat.de>
      
      * Fix typo (missing letters)
      
      Co-Authored-By: default avatarmarratj <marrat@marrat.de>
      
      * replace fake http client with NewProvider() from go-oidc
      
      * remove OIDC UserInfo URL option (not required)
      
      * add info about -skip-oidc-discovery to README
      
      * add note to changelog
      
      * Update outdated comment
      8816a2a9
  6. Feb 25, 2019
  7. Feb 22, 2019
  8. Feb 17, 2019
  9. Feb 13, 2019
  10. Feb 09, 2019
  11. Feb 08, 2019
  12. Feb 07, 2019
  13. Feb 04, 2019
  14. Feb 03, 2019
  15. Feb 02, 2019
  16. Feb 01, 2019
  17. Jan 31, 2019