From f52259d273c6efdfdb547e24a1f58f0ee2f3daa8 Mon Sep 17 00:00:00 2001 From: superchilled Date: Fri, 13 Dec 2024 15:46:50 +0000 Subject: [PATCH] Removing default exp from JWT client token generator --- lib/opentok/token_generator.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/opentok/token_generator.rb b/lib/opentok/token_generator.rb index 1720099..3f99023 100644 --- a/lib/opentok/token_generator.rb +++ b/lib/opentok/token_generator.rb @@ -126,7 +126,6 @@ def generate_token(token_type) :iss => api_key, :ist => "project", :iat => Time.now.to_i, - :exp => Time.now.to_i + 86400, :nonce => Random.rand, :role => role, :scope => "session.connect",