OIDC: Make sure the dependent auth modules are loaded
The following two modules are required to use auth_openidc.
- authn_core
- authz_user
This ensures these modules are loaded.
Closes-Bug: #2006924
Change-Id: I13c36b10d80e9518d1d4af44c0b8a69fcfe911d3
(cherry picked from commit 6c52159c7b)
This commit is contained in:
@@ -164,6 +164,9 @@ class keystone::federation::openidc (
|
||||
) {
|
||||
|
||||
include apache
|
||||
include apache::mod::authn_core
|
||||
include apache::mod::authz_user
|
||||
|
||||
include keystone::deps
|
||||
include keystone::params
|
||||
|
||||
|
||||
@@ -72,6 +72,8 @@ describe 'keystone::federation::openidc' do
|
||||
end
|
||||
|
||||
it { is_expected.to contain_package(platform_parameters[:openidc_package_name]) }
|
||||
it { is_expected.to contain_class('apache::mod::authn_core') }
|
||||
it { is_expected.to contain_class('apache::mod::authz_user') }
|
||||
|
||||
context 'with only required parameters' do
|
||||
it 'should have basic params for openidc in Keystone configuration' do
|
||||
|
||||
Reference in New Issue
Block a user