Browse Source

Remove incorrect validation for OpenIDIdentityProvider

Currently, OpenIDIdentityProvider does not support
'challenge=true' in openshift-ansible.

This is incorrect, the auth plugin OpenIDIdentityProvider
does support this.

This commit removes the unnecessary validation of
challenge key.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
Fixes: https://github.com/openshift/openshift-ansible/issues/4417
Michael Gugino 7 years ago
parent
commit
9879c765a5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      roles/openshift_master_facts/filter_plugins/openshift_master.py

+ 0 - 1
roles/openshift_master_facts/filter_plugins/openshift_master.py

@@ -363,7 +363,6 @@ class OpenIDIdentityProvider(IdentityProviderOauthBase):
 
     def validate(self):
         ''' validate this idp instance '''
-        IdentityProviderOauthBase.validate(self)
         if not isinstance(self.provider['claims'], dict):
             raise errors.AnsibleFilterError("|failed claims for provider {0} "
                                             "must be a dictionary".format(self.__class__.__name__))