diff --git a/lib/keypair.rb b/lib/keypair.rb index 29d747c..38e19c0 100644 --- a/lib/keypair.rb +++ b/lib/keypair.rb @@ -119,7 +119,7 @@ def self.jwt_encode(payload) # @return [String] Encoded JWT token with security credentials. # @param payload [Hash] Hash which should be encoded. def self.jwt_encode_without_nonce(payload) - current.jwt_encode_without_nonce(payload, {}, nonce: false) + current.jwt_encode(payload, {}, nonce: false) end # Decodes the payload and verifies the signature against the current valid keypairs.