Browse Source

Fix github auth validation

This commit ensures github auth validation filter works
as intended.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367
Michael Gugino 7 years ago
parent
commit
6790200467
1 changed files with 2 additions and 4 deletions
  1. 2 4
      roles/openshift_master_facts/filter_plugins/openshift_master.py

+ 2 - 4
roles/openshift_master_facts/filter_plugins/openshift_master.py

@@ -326,10 +326,8 @@ class IdentityProviderOauthBase(IdentityProviderBase):
         self._required += [['clientID', 'client_id'], ['clientSecret', 'client_secret']]
 
     def validate(self):
-        ''' validate this idp instance '''
-        if self.challenge:
-            raise errors.AnsibleFilterError("|failed provider {0} does not "
-                                            "allow challenge authentication".format(self.__class__.__name__))
+        ''' validate an instance of this idp class '''
+        pass
 
 
 class OpenIDIdentityProvider(IdentityProviderOauthBase):