Skip to content
  1. May 07, 2020
  2. May 06, 2020
  3. May 05, 2020
  4. May 03, 2020
  5. Apr 30, 2020
  6. Apr 29, 2020
  7. Apr 28, 2020
    • Christian Schyma's avatar
      typo fixed (#505) · e27f7e0b
      Christian Schyma authored
      e27f7e0b
    • Jakub Holy's avatar
      Feature/configurable userid claim minimal (#499) · 19614245
      Jakub Holy authored
      
      
      * Add -user-id-claim to support other claims than email
      
      Fix #431 - This is a minimal change to allow the user to configure which claim is
      the source of the "user ID".
      
      - Add the option `user-id-claim` (defaults to email)
      - OIDC extracts this claim into session.Email (to be renamed later)
      - providers: add `CreateSessionStateFromBearerToken` with a default impl taken from
        `GetJwtSession` and overridden by oidc to respect `user-id-claim`
      
      Once #466 is merged, I can continue to rename SessionState.Email to .UserID
      and add HTTP headers with a corresponding name.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarJoel Speed <Joel.speed@hotmail.co.uk>
      
      * Review feedback: Don't extract claims manually
      
      Instead, parse them twice - it might be sligtly slower but less bug-prone as the code evolves.
      
      * Fix indentation
      
      Co-authored-by: default avatarJoel Speed <Joel.speed@hotmail.co.uk>
      19614245
  8. Apr 20, 2020
  9. Apr 19, 2020
  10. Apr 16, 2020
  11. Apr 14, 2020
  12. Apr 13, 2020
  13. Apr 12, 2020
  14. Apr 10, 2020
    • Moraru Costel's avatar
      Add set basic auth param (#413) · b0b87563
      Moraru Costel authored
      
      
      * addint redirect capability to sign_out
      
      * updating changelog
      
      * Add a new param to set the Authorization header to up-stream systems as Basic user:password
      
      * Resolving code review
      
      * mutual exclusiv changes for Basic and Bearer Authorization header
      
      * Fixed the merge mixup and comment error
      
      * Updated changelog and fixed typo
      
      * Adding the new entry in changelog
      
      Co-authored-by: default avatarCostel Moraru <costel.moraru-germany@ibm.com>
      b0b87563
  15. Apr 09, 2020
  16. Apr 06, 2020
    • Josh Bielick's avatar
      print full error message when non-api error (#474) · f9f98cb3
      Josh Bielick authored
      
      
      when type asserting fails here, err is reassigned with nil and the
      default block of the switch prints out <nil> in the error message. This
      makes debugging a configuration or access token issue difficult
      
      The particular error this surfaces is:
      
      Response: {
        "error": "unauthorized_client",
        "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."
      }
      
      Signed-off-by: default avatarJosh Bielick <jbielick@gmail.com>
      f9f98cb3
  17. Apr 04, 2020
    • Mitsuo Heijo's avatar
      Implement graceful shutdown and propagate request context (#468) · c7bfbdec
      Mitsuo Heijo authored
      * feature: Implement graceful shutdown
      
      Propagate the request context to the Redis client.
      It is possible to propagate a context cancel to Redis client if the connection is closed by the HTTP client.
      The redis.Cmdable cannot use WithContext, so added the Client interface to handle redis.Client and redis.ClusterClient transparently.
      
      Added handling of Unix signals to http server.
      
      Upgrade go-redis/redis to v7.
      
      * Update dependencies
      
      - Upgrade golang/x/* and google-api-go
      - Migrate fsnotify import from gopkg.in to github.com
      - Replace bmizerany/assert with stretchr/testify/assert
      
      * add doc for  wrapper interface
      
      * Update CHANGELOG.md
      
      * fix: upgrade fsnotify to v1.4.9
      
      * fix: remove unnessary logging
      
      * fix: wait until  all connections have been closed
      
      * refactor: move chan to main for testing
      
      * add assert to check if stop chan is empty
      
      * add an idiomatic for sync.WaitGroup with timeout
      c7bfbdec
    • Siim Tiilen's avatar
      Allow html in banner message (#462) · bdc68610
      Siim Tiilen authored
      * allow html in banner message
      
      * Fix changelog (move under new version)
      bdc68610
  18. Apr 02, 2020
  19. Mar 30, 2020
  20. Mar 29, 2020
  21. Mar 18, 2020