Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 23, 2025
1 parent bb383f8 commit 34e7bd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/authx/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def get_opa_permissions(bearer_token=None, user_token=None, method=None, path=No
headers = {
"Authorization": f"Bearer {token}"
}
logger.debug(f"bearer is {token}, user is {user_token}")
response = requests.post(
opa_url + "/v1/data/permissions",
headers=headers,
Expand Down

0 comments on commit 34e7bd0

Please sign in to comment.