diff --git a/web/server/codechecker_server/api/authentication.py b/web/server/codechecker_server/api/authentication.py index b81a6751a2..045acc1d86 100644 --- a/web/server/codechecker_server/api/authentication.py +++ b/web/server/codechecker_server/api/authentication.py @@ -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(