Bug 1332729

Summary: mod_auth_mellon loaded before mod_auth_openidc makes the latter not be recognized for "AuthType openid-connect"
Product: [Fedora] Fedora Reporter: Patrick Uiterwijk <puiterwijk>
Component: mod_auth_mellonAssignee: John Dennis <jdennis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: jdennis, puiterwijk, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_auth_mellon-0.12.0-3.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1333160 1333161 (view as bug list) Environment:
Last Closed: 2017-01-17 19:52:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1333160, 1333161    

Description Patrick Uiterwijk 2016-05-03 23:03:41 UTC
Description of problem:
If I install both mod_auth_mellon and mod_auth_openidc, mod_auth_openidc does not get triggered for "AuthType openid-connect".
If, however, I rename /etc/httpd/conf.modules.d/10-auth_mellon.conf to 11-auth_mellon.conf, it works.

Version-Release number of selected component (if applicable):
mod_auth_mellon-0.12.0-1.fc25
mod_auth_openidc-1.8.8-4.fc25

How reproducible:
Consistent

Steps to Reproduce:
1. Install mod_auth_mellon and mod_auth_openidc
2. Add a "AuthType openid-connect; Require valid-user" to the config
(and minimal mod_auth_openidc configuration)

Actual results:
Unauthorized page

Expected results:
OpenID Connect protocol flow starting.

Additional info:

Comment 1 John Dennis 2016-05-04 00:00:05 UTC
Patrick:

Would you please test the following scratch-build:

http://koji.fedoraproject.org/koji/taskinfo?taskID=13909408

And let me know if it solves your problem.

Comment 2 Patrick Uiterwijk 2016-05-04 00:04:53 UTC
John:

This scratch build fixes my problem yes.
Thank you very much for the fast response!

Comment 3 John Dennis 2016-05-04 00:24:52 UTC
You're welcome.

Good to hear, I'll prepare regular builds tomorrow.

Comment 4 John Dennis 2016-05-04 19:25:58 UTC
This is likely the same issue as described in bug #1317019 which was filed against RHEL 6.8 with mellon-0.8.0

Comment 5 Jan Kurik 2016-07-26 04:23:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 6 Patrick Uiterwijk 2017-01-08 21:14:39 UTC
Have normal builds gotten anywhere yet?

Comment 7 John Dennis 2017-01-09 17:14:01 UTC
had to rebuild, bumped fixed-in-version release

Comment 8 Fedora Update System 2017-01-09 17:21:02 UTC
mod_auth_mellon-0.12.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e197b19422

Comment 9 John Dennis 2017-01-09 17:24:49 UTC
Sorry about the build Patrick, it had gotten stuck in limbo during the F24 -> F25 change. It's been rebuilt and submitted to updates-testing now.

Comment 10 Fedora Update System 2017-01-10 03:28:22 UTC
mod_auth_mellon-0.12.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e197b19422

Comment 11 Fedora Update System 2017-01-17 19:52:05 UTC
mod_auth_mellon-0.12.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.