xpublish
xpublish copied to clipboard
Authentication
Hi,
how do I add FastAPI authentication features to the endpoint calls?
Thanks
I don't think anyone has tried setting up xpublish with authentication yet. If I were to look into this, I would start with the FastAPI tutorial on security, then look at the xpublish routers to see if you can inject the token dependency there. @benbovy will know more but I suspect https://github.com/xarray-contrib/xpublish/pull/89 will make this much easier.
Hello! I am new to contributing to open source. But I would like to work on adding authentication via FastAPI if that is fine? Thanks!
FastAPI-Users does a lot of heavy-lifting for authentication and user management. That's what we use in jupyverse.