From 6790200467b2b67e975847febefc3d7726008570 Mon Sep 17 00:00:00 2001 From: Michael Gugino Date: Thu, 2 Nov 2017 09:48:40 -0400 Subject: Fix github auth validation This commit ensures github auth validation filter works as intended. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1444367 --- roles/openshift_master_facts/filter_plugins/openshift_master.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'roles') diff --git a/roles/openshift_master_facts/filter_plugins/openshift_master.py b/roles/openshift_master_facts/filter_plugins/openshift_master.py index a4f410296..69fecc7d2 100644 --- a/roles/openshift_master_facts/filter_plugins/openshift_master.py +++ b/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): -- cgit v1.2.3