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: auth0/node-jsonwebtoken
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.2.0
Choose a base ref
...
head repository: auth0/node-jsonwebtoken
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2.1
Choose a head ref
  • 4 commits
  • 5 files changed
  • 3 contributors

Commits on Mar 2, 2018

  1. Clarify that buffer/string payloads must be JSON (#442)

    It does kinda go without saying that JWTs (_JSON_ Web Tokens) need to contain JSON but it's worth mentioning that signing doesn't check your payload.  In some unit tests I was writing where the payload was a dummy (non-JSON parsable) string, JWTs were being signed okay but they're not valid according to the spec.
    davidjb authored and ziluvatar committed Mar 2, 2018
    1 Configuration menu
    Copy the full SHA
    e8ac1be View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. Check payload is not null when decoded. (#444)

    * Check payload is not null when decoded.
    Fixed "Cannot read property 'nbf' of null"
    
    * Condition on obj !== null for clarity
    
    * Added test for decoding null token
    Gp2mv3 authored and ziluvatar committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    1232ae9 View commit details
    Browse the repository at this point in the history
  2. update changelog

    ziluvatar committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    7a9954a View commit details
    Browse the repository at this point in the history
  3. 8.2.1

    ziluvatar committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    092d55a View commit details
    Browse the repository at this point in the history
Loading