xpublish icon indicating copy to clipboard operation
xpublish copied to clipboard

Authentication

Open r3v1 opened this issue 3 years ago • 3 comments

Hi,

how do I add FastAPI authentication features to the endpoint calls?

Thanks

r3v1 avatar Feb 07 '22 11:02 r3v1

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.

jhamman avatar Feb 10 '22 23:02 jhamman

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!

mtkumar123 avatar Apr 21 '22 13:04 mtkumar123

FastAPI-Users does a lot of heavy-lifting for authentication and user management. That's what we use in jupyverse.

davidbrochart avatar Jun 02 '22 07:06 davidbrochart