emqx-auth-redis icon indicating copy to clipboard operation
emqx-auth-redis copied to clipboard

how to set auth.redis.auth_cmd = with redis eval

Open zxzgit opened this issue 5 years ago • 1 comments

set emqx_auth_redis.conf: auth.redis.auth_cmd = eval "return redis.call('hmget','emqx:user:'..ARGV[1],'password')" 0 %u

get error [Redis] Command: "eval \"return redis.call('hmget','emqx:user:'..ARGV[1],'password')\" 0 %u" failed: <<"ERR value is not an integer or out of range">>

zxzgit avatar Aug 28 '19 02:08 zxzgit

Hi, @zxzgit Sorry for the late reply,Do you resolve this problem?

turtleDeng avatar Dec 31 '19 09:12 turtleDeng