Redis support a separate authentication module

Skip to first unread message


Jan 3, 2022, 10:53:03 AMJan 3
to Redis DB
   Redis can support a separate authentication module?

   An authentication module that facilitates developers to meet their business needs, such as Kerberos authentication

Viktor Söderqvist

Jan 9, 2022, 1:40:25 PMJan 9
Sorry for double post.

Update: It is actually possible to rewrite the calls to AUTH to use your
custom auth command. You need to use command filters.

I don't know why the RegisterCommandFilter function is not visible in
the Modules API docs. At least it is in the Redis source code in


On 2022-01-09 19:34, Viktor Söderqvist wrote:
> Hi!
> Check out the ACL section in the Modules API:
> Using this and the CreateCommand API, it's possible to create a module
> which provides a custom authentication command like MY-KERBEROS-AUTH and
> then your clients need to use this instead of AUTH.
> If you want to use MY-KERBEROS-AUTH instead of AUTH, you can create a
> command filter using RegisterCommandFilter (I don't know why it's not
> visible in the API docs, but
> It is currently not possible to replace the backend used by the AUTH
> command. If you want that, you need to create an issue on GitHub.
> Cheers,
> Viktor
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Redis DB" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
>> <>.
>> To view this discussion on the web visit
>> <>.
Reply all
Reply to author
0 new messages