summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-11-06 12:48:15 -0500
committerGitHub <noreply@github.com>2017-11-06 12:48:15 -0500
commitd3301fb655988df1f8fb0b9dcf450396690ed951 (patch)
tree2f0d212c5bde1412238a3e0e925e1ca41d4116f8 /roles
parent45331a37044dc0719d4bb89fe77a79aedd30e379 (diff)
parent6790200467b2b67e975847febefc3d7726008570 (diff)
downloadopenshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.gz
openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.bz2
openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.tar.xz
openshift-d3301fb655988df1f8fb0b9dcf450396690ed951.zip
Merge pull request #5988 from mgugino-upstream-stage/github-auth-fix
Fix github auth validation
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master_facts/filter_plugins/openshift_master.py6
1 files changed, 2 insertions, 4 deletions
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):