Skip to content

Commit

Permalink
fix(auth): decode auth header as secret value
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Dec 16, 2020
1 parent 5d3481e commit e7d0bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queenbee/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def auth_header(self) -> Dict[str, str]:
Returns:
Dict[str, str]: a header with an API token
"""
return {self.header_name: self.access_token}
return {self.header_name: self.access_token.get_secret_value()}


class JWTAuth(BaseAuth):
Expand Down

0 comments on commit e7d0bf2

Please sign in to comment.