Merge "Ensure no double slash in get token URL"
This commit is contained in:
@@ -56,7 +56,7 @@ class Auth(base.BaseIdentityPlugin):
|
|||||||
|
|
||||||
def get_auth_ref(self, session, **kwargs):
|
def get_auth_ref(self, session, **kwargs):
|
||||||
headers = {'Accept': 'application/json'}
|
headers = {'Accept': 'application/json'}
|
||||||
url = self.auth_url + '/tokens'
|
url = self.auth_url.rstrip('/') + '/tokens'
|
||||||
params = {'auth': self.get_auth_data(headers)}
|
params = {'auth': self.get_auth_data(headers)}
|
||||||
|
|
||||||
if self.tenant_id:
|
if self.tenant_id:
|
||||||
|
Reference in New Issue
Block a user