Ejabberd should always be performing authentication using the external auth script #3768
-
This is in regards to the external auth configuration with ejabberd. If I pass a login like this:
It will let me login However, if I login again with a different password, ejabberd will claim that the login is incorrect. Is there a way to timeout the password or make ejabberd ALWAYS use the script when authenticating? It seems like it does it the first time, and then if the script says it's valid, ejabberd caches that login credential in their database. I want ejabberd to ALWAYS rely on my script. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like it was just the configuration option in ejabberd.yml: |
Beta Was this translation helpful? Give feedback.
Looks like it was just the configuration option in ejabberd.yml:
auth_use_cache: true
If I change the cache timeout to something lower than one hour it seems to work better for my use case. Turning it off entirely also works. I hope this does not become a bottleneck later on