Skip to content

Commit

Permalink
added FIX ME near workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
feyruzb committed Sep 11, 2024
1 parent 066ef7b commit 3c83d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/server/codechecker_server/api/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ def performLogin(self, auth_method, auth_string):
client_secret,
scope=scope,
redirect_uri=redirect_uri)
#FIXME: This is a workaround for the Microsoft OAuth2 provider

# FIXME: This is a workaround for the Microsoft OAuth2 provider
# which doesn't correctly fetch the code from url.

code = url.split("code=")[1].split("&")[0]
url = url.split("?")[0] + "?code=" + code
token = session.fetch_token(
Expand Down

0 comments on commit 3c83d1e

Please sign in to comment.