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",