Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 285 Bytes

ruby.md

File metadata and controls

9 lines (7 loc) · 285 Bytes
title
Ruby
hmac_secret = '${"<%= api.signing_secret %>"}'

decoded_token = JWT.decode token, hmac_secret, true, { :iss => '${"https://<%= tenantDomain %>"}/', :verify_iss => true, :aud => '${"<%= api.identifier %>"}', :verify_aud => true, :algorithm => 'HS256' }