clerk-sdk-ruby
clerk-sdk-ruby copied to clipboard
auth_context.client_uat is string
Needed to add a to_i in lib/clerk/authenticate_request.rb as the auth_context.client_uat is a string for me, so < caused an error.
if token["iat"] < auth_context.client_uat.to_i
return handle_handshake_maybe_status(env, reason: AuthErrorReason::SESSION_TOKEN_OUTDATED);
end
Version used is v4.0.0.beta3. Btw., this version fixed a lot of issues compared to the latest stable version I used previously.