Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication #100

Closed
r3v1 opened this issue Feb 7, 2022 · 4 comments
Closed

Authentication #100

r3v1 opened this issue Feb 7, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@r3v1
Copy link

r3v1 commented Feb 7, 2022

Hi,

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

Thanks

@jhamman
Copy link
Contributor

jhamman commented Feb 10, 2022

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 #89 will make this much easier.

@jhamman jhamman added enhancement New feature or request help wanted Extra attention is needed labels Feb 10, 2022
@mtkumar123
Copy link

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!

@davidbrochart
Copy link

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

@jhamman
Copy link
Contributor

jhamman commented Jul 30, 2024

This has sat for a long time so I'm going to close this out. The approach I would take here is to apply auth as a middleware layer on top of the Xpublish FastAPI App.

@jhamman jhamman closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants