We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This example code from the docs throws an error
iat = Time.now.to_i hmac_secret = 'test' jti_raw = [hmac_secret, iat].join(':').to_s jti = Digest::MD5.hexdigest(jti_raw) jti_payload = { :data => 'data', :iat => iat, :jti => jti } token = JWT.encode jti_payload, hmac_secret, 'HS256' decoded_token = JWT.decode token, hmac_secret, true, { :verify_jti => true, :algorithm => 'HS256' }
throws JWT::InvalidJtiError: Not a uniq jwt id
JWT::InvalidJtiError: Not a uniq jwt id
The text was updated successfully, but these errors were encountered:
Hi @estiens ,
can you please check this again using the current master branch?
This seems to be fixed now.
Sorry, something went wrong.
Works for me on current master branch 👍
No branches or pull requests
This example code from the docs throws an error
throws
JWT::InvalidJtiError: Not a uniq jwt id
The text was updated successfully, but these errors were encountered: