Преглед на файлове

Merge pull request #5350 from adelton/issue-2454

Merged by openshift-bot
OpenShift Bot преди 7 години
родител
ревизия
3b2202f6a8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      roles/openshift_master_facts/filter_plugins/openshift_master.py

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

@@ -383,7 +383,7 @@ class OpenIDIdentityProvider(IdentityProviderOauthBase):
         if 'extraAuthorizeParameters' in self._idp:
             if 'include_granted_scopes' in self._idp['extraAuthorizeParameters']:
                 val = ansible_bool(self._idp['extraAuthorizeParameters'].pop('include_granted_scopes'))
-                self._idp['extraAuthorizeParameters']['include_granted_scopes'] = val
+                self._idp['extraAuthorizeParameters']['include_granted_scopes'] = '"true"' if val else '"false"'
 
     def validate(self):
         ''' validate this idp instance '''