I tried using the options setting to provide the password as such:
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'OPTIONS': {
"PASSWORD": 'pass', }, 'CONFIG': {
'hosts': [('localhost', 6379)], }
}
}
Despite this, it is erroring:
Exception Value: NOAUTH Authentication required.
I found the following SO:
Redis raise error: NOAUTH Authentication required but there is no password setting
But the answers were not helpful in this situation.