mgtarnawski
CCConvex Community
•Created by mgtarnawski on 12/5/2024 in #support-community
convex-python client freezing when using set_auth
Hi Convex team!
I've encoutered a strange error:
convex client is freezing on query when the .set_auth(<token>) is used prior to the query.
Version of Convex Python client: 0.6.0
Reproduced on two machines.
convex = ConvexClient(CONVEX_URL)
convex.set_auth(bearer_token) //token is a valid JWT token //obtained from WorkOS Authkit login flow
org = convex.query("organizations:getByWID", {"workos_id":client_id})
//the above query is public and returns proper result if the set_auth was not invoked, and hangs indefinitely if it was invoked.
$python3 --version
Python 3.13.0
Python 3.13.0
6 replies