summaryrefslogtreecommitdiffstats
path: root/keystone/auth/controllers.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/auth/controllers.py')
-rw-r--r--keystone/auth/controllers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystone/auth/controllers.py b/keystone/auth/controllers.py
index e6557be5..9f6f1972 100644
--- a/keystone/auth/controllers.py
+++ b/keystone/auth/controllers.py
@@ -285,6 +285,8 @@ class Auth(controller.V3Controller):
auth_info = AuthInfo(context, auth=auth)
auth_context = {'extras': {}, 'method_names': [], 'bind': {}}
self.authenticate(context, auth_info, auth_context)
+ if auth_context.get('access_token_id'):
+ auth_info.set_scope(None, auth_context['project_id'], None)
self._check_and_set_default_scoping(auth_info, auth_context)
(domain_id, project_id, trust) = auth_info.get_scope()
method_names = auth_info.get_method_names()