Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang-jwt/jwt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9294af5
Choose a base ref
...
head repository: golang-jwt/jwt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7b1c1c0
Choose a head ref
  • 10 commits
  • 11 files changed
  • 7 contributors

Commits on Aug 15, 2022

  1. fix: link update for README.md for v4 (#217)

    Co-authored-by: Christian Banse <[email protected]>
    krokite and oxisto authored Aug 15, 2022
    Configuration menu
    Copy the full SHA
    f2878bb View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Implement a BearerExtractor (#226)

    * Implement a BearerExtractor
    
    This is a rather common extractor; it extracts the JWT from the HTTP
    Authorization header, expecting it to include the "Bearer " prefix.
    
    This patterns is rather common and this snippet is repeated in enough
    applications that it's probably best to just include it upstream and
    allow reusing it.
    
    * Ignore case-sensitivity for "Bearer"
    WhyNotHugo authored Aug 19, 2022
    Configuration menu
    Copy the full SHA
    fdaf0eb View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Bump matrix to support latest go version (go1.19) (#231)

    * Bump matrix to support latest go version (go1.19)
    
    * Fix comment
    mfridman authored Aug 20, 2022
    Configuration menu
    Copy the full SHA
    d81acbf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfea432 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    0c4e387 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2022

  1. Configuration menu
    Copy the full SHA
    35053d4 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    2101c1f View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Configuration menu
    Copy the full SHA
    2f0984a View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Allow strict base64 decoding (#259)

    By default base64 decoder works in non-strict mode which
    allows tweaking signatures having padding without failing validation.
    
    This creates a potential problem if application treats token value as an identifier.
    
    For example ES256 signature has length of 64 bytes and two padding symbols (stripped by default).
    Therefore its base64-encoded value can only end with A, Q, g and w.
    In non-strict mode last symbol could be tweaked resulting in 16 distinct
    token values having the same signature and passing validation.
    
    This change adds backward-compatible global config variable DecodeStrict
    (similar to existing DecodePaddingAllowed) that enables strict base64 decoder mode.
    
    See also golang/go#15656.
    
    Signed-off-by: Alexander Yastrebov <[email protected]>
    AlexanderYastrebov authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    9358574 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Merge commit from fork

    * Initial draft of adding text to ParseWithClaims
    
    * Adjusted example and referring to the example in Parse functions
    
    * Backporting logic from v5
    
    * Added a test
    oxisto authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    7b1c1c0 View commit details
    Browse the repository at this point in the history
Loading