Replies: 1 comment
-
for others interested, we followed up on discord: https://discord.gg/JE7nhX6mD8 |
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, I am trying to get marimo running on modal, following https://docs.marimo.io/guides/deploying/programmatically.html and https://docs.marimo.io/guides/deploying/authentication.html
The following code works, up to the point of giving a 401 for /api/kernel/instantiate
I have tried adding middleware and I can see the requests come through.
I can reject requests (return 401) but I can't figure out how to prevent a 401 for /api/kernel/instantiate
I think I am missing something fundamental about what's going on here, since I don't see where a token could be validated, or where the 401 is actually happening. I do see
marimo-server-token
in the header for /api/kernel/instantiate but noauthorization
or similar.If anyone has any ideas, I would appreciate it! Running marimo on modal would be fantastic.
Example middleware code (note this is one of several attempts. I turn on and off the auth_header check, edit the headers, etc. and no matter how permissive, nothing changes):
Beta Was this translation helpful? Give feedback.
All reactions