Loading auth_openidc_module in apache conf causes working WSGI Django app to error on page load. #1026
Unanswered
Rumsey-The-Hobo
asked this question in
Q&A
Replies: 1 comment 7 replies
-
you should really upgrade to the latest version, downloadable from the Releases page here |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've spent the last 2 days trying to fix this issue trying everything I can from the WSGI side without success. I understand this is likely related to my specific environment but I would be very grateful for any help on the issue.
I have a functioning Apache webpage using Django/WSGI. When I load auth_openidc_module by uncommenting the following line
LoadModule auth_openidc_module modules/mod_auth_openidc.so
my page will crash upon refresh giving the following errors in the apache error_log:
Note the page goes from working to this error only by loading the module even before I add OIDC lines into the conf.
However, when I add the following to my conf, all of my cgi python scripts work and have OIDC headers in the python env, but my wsgi django application on the same server crashes with the errors above.
Here are some details from apache log on my server (not i have tried different versions of mod_auth_openidc without luck):
Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.9.4 Python/3.10
mod_auth_openidc-2.1.6 - init - OpenSSL 1.0.1e-fips 11 Feb 2013, Elliptic Curve (EC)=yes, Galois Counter Mode (GCM)=yes, Redis=yes
And here is the part of my apache conf for my wsgi django app
Please let me know what else I can provide to try and figure this out.
Greatly appreciate the help,
Taylor
Beta Was this translation helpful? Give feedback.
All reactions