Skip to content

Commit

Permalink
fix security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Sep 23, 2024
1 parent 747a650 commit f560242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_validated_token(self, url, token):
return self.open_id_authenticate(url, token)
except Exception as e:
logger.info(e, "Token: ", token)
err = {"detail": f"Invalid Authorization token: {e}"}
err = {"detail": "Invalid Authorization token"}
raise InvalidToken(err) from e

def get_user(self, _):
Expand Down

0 comments on commit f560242

Please sign in to comment.