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

Support for HTTP Basic Authentication #1265

Closed
yunzheng opened this issue Mar 19, 2021 · 3 comments
Closed

Support for HTTP Basic Authentication #1265

yunzheng opened this issue Mar 19, 2021 · 3 comments

Comments

@yunzheng
Copy link

It would be nice if datasette could support HTTP Basic Authentication.

For now I could ofcourse leverage Nginx for basic authentication, but it would be nice to have support for this in datasette by default or via a plugin like datasette-auth-github.

My main usecase is to put the whole datasette instance behind a username/password prompt via Basic Auth and not specific urls.

@bobwhitelock
Copy link
Contributor

It doesn't use basic auth, but you can put a whole datasette instance, or parts of this, behind a username/password prompt using https://github.com/simonw/datasette-auth-passwords

simonw added a commit to simonw/datasette-auth-passwords that referenced this issue Mar 19, 2021
@simonw
Copy link
Owner

simonw commented Mar 19, 2021

This is now available in datasette-auth-passwords 0.4! https://github.com/simonw/datasette-auth-passwords/releases/tag/0.4

@simonw simonw closed this as completed Mar 19, 2021
@yunzheng
Copy link
Author

Wow that was fast! Thanks for this very cool project and quick update! 👍

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

No branches or pull requests

3 participants