From b403623250d76ec4e444e647c14fd6876360685f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20=C3=96stberg?= Date: Tue, 27 Aug 2019 07:10:13 +0200 Subject: [PATCH] Remove space that messed up Elixir auth. --- backend/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/auth.py b/backend/auth.py index eaefa63fa..78ac61148 100644 --- a/backend/auth.py +++ b/backend/auth.py @@ -114,7 +114,7 @@ async def get_user_token(self, code): client_id = self.settings['elixir_oauth']['id'] secret = self.settings['elixir_oauth']['secret'] - authorization = base64.b64encode(bytes(f"{client_id}: {secret}", 'ascii')).decode('ascii') + authorization = base64.b64encode(bytes(f"{client_id}:{secret}", 'ascii')).decode('ascii') response = await http.fetch(self._OAUTH_ACCESS_TOKEN_URL, method="POST",