Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zxzgit opened this issue Aug 28, 2019 · 1 comment
Open

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

zxzgit opened this issue Aug 28, 2019 · 1 comment
Assignees

Comments

@zxzgit
Copy link

zxzgit commented Aug 28, 2019

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

@turtleDeng turtleDeng self-assigned this Dec 26, 2019
@turtleDeng
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants