diff --git a/CHANGES.md b/CHANGES.md index ec61605..857664f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +# 4.10.1 + +* Updating expire time logic in JWT client token generator. See [#285](https://github.com/opentok/OpenTok-Ruby-SDK/pull/285) + # 4.10.0 * Updating client token creation to use JWTs by default. See [#274](https://github.com/opentok/OpenTok-Ruby-SDK/pull/274) 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", diff --git a/lib/opentok/version.rb b/lib/opentok/version.rb index b9ce99e..189aa2a 100644 --- a/lib/opentok/version.rb +++ b/lib/opentok/version.rb @@ -1,4 +1,4 @@ module OpenTok # @private - VERSION = '4.10.0' + VERSION = '4.10.1' end