Skip to content

Commit

Permalink
Authorization header (#560)
Browse files Browse the repository at this point in the history
* add authorization header

Signed-off-by: Amir Malka <[email protected]>

* fix

Signed-off-by: Amir Malka <[email protected]>

---------

Signed-off-by: Amir Malka <[email protected]>
  • Loading branch information
amirmalka authored Jan 6, 2025
1 parent 8947293 commit a705a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/backend_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ def ws_export_open(self, url):
for cookie in self.selected_tenant_cookie:
cookie = "Cookie: {}={}".format(cookie.name, cookie.value)

authorization = f"Authorization: Bearer {self.api_login.get_frontEgg_auth_user_id()}",
authorization = f"Authorization: Bearer {self.api_login.get_frontEgg_auth_user_id()}"

ws.connect(server, header=[cookie, authorization])
return ws
Expand Down

0 comments on commit a705a2c

Please sign in to comment.