<@498057949541826571> Hi, Is there a way to use th...
# support-questions-legacy
l
@rp_st Hi, Is there a way to use the
supertokens_python.recipe.session.asyncio.get_session
function with
starlette.websockets.WebSocket
?
r
hey @Luca
there is no way to use that at the moment for web sockets. You should enable JWTs in our session and then fetch the JWT on the frontend and use that in the websocket event message instead. On the backend, you can verify the JWT using any jwt verification lib.
l
Okay, thank you very much. It is working now. I am sending the jwt in websocket connection params to the backend.
3 Views