Skip to content

Commit

Permalink
Merge d61d1aa into 575f066
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Aug 27, 2019
2 parents 575f066 + d61d1aa commit 0c477e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0c477e5

Please sign in to comment.