How to Access request.session.get("xxx") in Marimo Notebook ? #3280
Unanswered
SimonYang-CS
asked this question in
Q&A
Replies: 1 comment
-
Hi @SimonYang-CS, it is not currently possible. But it is something we can look into adding under
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Marimo Team,
First of all, thank you for creating such a great product! Marimo has been incredibly useful tool.
We have successfully protected our Marimo notebook using a custom AuthMiddleware in our FastAPI application.
However, we are facing an issue with accessing the session data within the Marimo notebook.
Specifically, we need to retrieve the email stored in the session using request.session.get("xxx").
Here is a brief overview of our setup:
We have implemented a custom AuthMiddleware to handle authentication.
The middleware stores the user info the session.
We need to access this email within the Marimo notebook cells.
Could you please provide guidance on how to access request.session.get("xx") within the Marimo notebook?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions