Skip to content

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