Browse Source

Merge pull request #5988 from mgugino-upstream-stage/github-auth-fix

Fix github auth validation
Scott Dodson 7 years ago
parent
commit
d3301fb655
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):