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

Request adding basic auth to the flask server #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Nocturnhabeo
Copy link

This is untested but is an example of how to add basic auth to your flask server. Please consider it as otherwise this exposes someone to spying if they are on an unsecured network.

@bocklucas
Copy link

Hey Nocturnhabeo, tried adding the 5 lines to the main.py and on running got an error from the new import statement. To fix it i added flask_basicauth to the requirements.txt and reran the requirements.txt install. It now runs but im not sure if im doing something wrong cause theres no login for me it just takes me straight to the feed. Loving the idea of making the connection secure keep it up!

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.

2 participants