File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111** Fixes and enhancements:**
1212
13+ - Preserve claims verification state when decoding unencoded payloads [ #753 ] ( https://github.com/jwt/ruby-jwt/pull/753 ) - [ @OskarEichler ] ( https://github.com/OskarEichler )
1314- Fix rejection of unknown algorithms from JWKs for RFC compliance and pquip [ #728 ] ( https://github.com/jwt/ruby-jwt/pull/728 )
1415- Fix the ` Style/DirectiveScope ` RuboCop offense failing the build [ #752 ] ( https://github.com/jwt/ruby-jwt/pull/752 )
1516
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def decode_payload
190190 raise JWT ::DecodeError , 'Encoded payload is empty' if encoded_payload == ''
191191
192192 if unencoded_payload?
193- verify_claims! ( crit : [ 'b64' ] )
193+ Claims :: Crit . new ( expected_crits : [ 'b64' ] ) . verify! ( context : ClaimsContext . new ( self ) )
194194 return parse_unencoded ( encoded_payload )
195195 end
196196
You can’t perform that action at this time.
0 commit comments