diff options
Diffstat (limited to 'keystonemiddleware/auth_token/_identity.py')
-rw-r--r-- | keystonemiddleware/auth_token/_identity.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/keystonemiddleware/auth_token/_identity.py b/keystonemiddleware/auth_token/_identity.py index a912e16..49bdf9a 100644 --- a/keystonemiddleware/auth_token/_identity.py +++ b/keystonemiddleware/auth_token/_identity.py @@ -21,6 +21,8 @@ from keystonemiddleware.auth_token import _auth from keystonemiddleware.auth_token import _exceptions as ksm_exceptions from keystonemiddleware.i18n import _ +ACCESS_RULES_SUPPORT = '1' + class _RequestStrategy(object): @@ -69,7 +71,8 @@ class _V3RequestStrategy(_RequestStrategy): auth_ref = self._client.tokens.validate( token, include_catalog=self._include_service_catalog, - allow_expired=allow_expired) + allow_expired=allow_expired, + access_rules_support=ACCESS_RULES_SUPPORT) if not auth_ref: msg = _('Failed to fetch token data from identity server') |