From ce965ead938015cb7410f21141f5d76df4b3a0ce Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Mon, 14 Jul 2014 12:24:57 -0500 Subject: [PATCH] prefer identity API v3 over v2 in auth_token This reverses the default order of preference between v2 and v3 to use v3 by default if both are available. Change-Id: I1a0a3b6c0652e7a762b51538c522e4cb1615bd39 Closes-Bug: 1336056 --- keystonemiddleware/auth_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystonemiddleware/auth_token.py b/keystonemiddleware/auth_token.py index 2146f07a..e44bcc30 100644 --- a/keystonemiddleware/auth_token.py +++ b/keystonemiddleware/auth_token.py @@ -335,7 +335,7 @@ _OPTS = [ CONF = cfg.CONF CONF.register_opts(_OPTS, group='keystone_authtoken') -_LIST_OF_VERSIONS_TO_ATTEMPT = ['v2.0', 'v3.0'] +_LIST_OF_VERSIONS_TO_ATTEMPT = ['v3.0', 'v2.0'] class _BIND_MODE: