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

Add auth_fief plugin, register auth via entry point, add WebSocket auth #211

Merged
merged 3 commits into from
Aug 26, 2022

Conversation

davidbrochart
Copy link
Collaborator

@davidbrochart davidbrochart commented Aug 25, 2022

This PR makes it possible to swap auth. Previously, there was a hard dependency on fps-auth, which is the "embedded" auth (doesn't require a separate server, has the database, registers auth endpoints in jupyverse). Now any auth can be installed, and it must register itself in an entry point jupyverse_auth group, with the following entry points: User, current_user, update_user and websocket_auth.
fps-auth-fief is an auth that uses https://www.fief.dev, which is separate from jupyverse and can run in the cloud or locally. Users must authenticate in Fief before being able to access e.g. JupyterLab, and depending on the permissions they are granted, they can use different functionalities (read or write files, execute notebooks, etc.).

fief.mp4

@davidbrochart
Copy link
Collaborator Author

davidbrochart commented Aug 25, 2022

Commit Add WebSocket authorization has the changes of #210.

@davidbrochart davidbrochart changed the title Add auth_fief plugin, register auth via entry point Add auth_fief plugin, register auth via entry point, add WebSocket auth Aug 25, 2022
@davidbrochart davidbrochart marked this pull request as ready for review August 25, 2022 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant