Fix auth login link
@@ -44,7 +44,7 @@ class AuthApi(BaseApiHandler):
def login(self, credentials):
credentials = self.validate_config(config=credentials, config_schema=CredentialsConfig)
- request_url = self.build_url(self._get_http_url(), AuthenticationTypes.TOKEN)
+ request_url = self.build_url(self._get_http_url(), 'token')
try:
response = self.transport.session.post(request_url, data=credentials.to_dict())
except requests.ConnectionError:
