AnthonyDeroche / mod_authnz_jwt

An authentication module for Apache httpd using JSON Web Tokens
Other
79 stars 46 forks source link

Installation does not work on OpenSuse Leap 15.2 / 15.3 because of apache module naming glitch #64

Open rwambacher opened 2 years ago

rwambacher commented 2 years ago

OpenSuSe uses it's own logic for module naming where the module name in the sysconfig variable ($APACHE_MODULES) has to match the installed apache module file under /usr/lib64/apache2/.

Module name is "auth_jwt", therefore apache module file has to be mod_auth_jwt.so. Currently the file name is "mod_authnz_jwt.so" which leads to the effect that OpenSUSE does not add the module to the loadmodule.conf file generated at starting time of apache.

A simple rename of the apache module file from mod_authnz_jwt.so" to "mod_auth_jwt.so" solved the problem for us.