[GH-ISSUE #43] Login page for Whoogle #28

Closed
opened 2026-02-25 20:34:43 +03:00 by kerem · 10 comments
Owner

Originally created by @Panja0 on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/43

Describe the feature you'd like to see added
Login to Whoogle.

Describe which parts of the project this would modify (front end/back end/configuration/etc)
Probably both?

Additional context
Would it be possible to add a login page to Whoogle?
This way, when my Whoogle server is exposed to the internet it won't be hammered.
You will need to first login before you can use Whoogle.

Originally created by @Panja0 on GitHub (May 13, 2020). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/43 **Describe the feature you'd like to see added** Login to Whoogle. **Describe which parts of the project this would modify (front end/back end/configuration/etc)** Probably both? **Additional context** Would it be possible to add a login page to Whoogle? This way, when my Whoogle server is exposed to the internet it won't be hammered. You will need to first login before you can use Whoogle.
Author
Owner

@s3rverro0m commented on GitHub (May 13, 2020):

You do have the option of using OAuth if you wanted to? That may be an option!

<!-- gh-comment-id:628203303 --> @s3rverro0m commented on GitHub (May 13, 2020): You do have the option of using OAuth if you wanted to? That may be an option!
Author
Owner

@Panja0 commented on GitHub (May 13, 2020):

Thanks for the quick reply!
I have to look into this... Do you have some more info on this maybe?

<!-- gh-comment-id:628204345 --> @Panja0 commented on GitHub (May 13, 2020): Thanks for the quick reply! I have to look into this... Do you have some more info on this maybe?
Author
Owner

@s3rverro0m commented on GitHub (May 13, 2020):

I use Keycloak in front of Traefik. What do you use as a reverse proxy?

Edit: https://www.keycloak.org

<!-- gh-comment-id:628206086 --> @s3rverro0m commented on GitHub (May 13, 2020): I use Keycloak in front of Traefik. What do you use as a reverse proxy? Edit: https://www.keycloak.org
Author
Owner

@Panja0 commented on GitHub (May 13, 2020):

I'm running Whoogle in Docker.
Docker is running on my Synology which uses NGINX as reverse proxy.

<!-- gh-comment-id:628207914 --> @Panja0 commented on GitHub (May 13, 2020): I'm running Whoogle in Docker. Docker is running on my Synology which uses NGINX as reverse proxy.
Author
Owner

@s3rverro0m commented on GitHub (May 13, 2020):

Check this out: https://edhull.co.uk/blog/2018-06-06/keycloak-nginx — uses docker-compose.

<!-- gh-comment-id:628209338 --> @s3rverro0m commented on GitHub (May 13, 2020): Check this out: https://edhull.co.uk/blog/2018-06-06/keycloak-nginx — uses docker-compose.
Author
Owner

@s3rverro0m commented on GitHub (May 13, 2020):

Granted, adding a login page would be easier as a whole, but at least this will allow you to secure all of your containers. It supports 2FA as well which is a big plus.

<!-- gh-comment-id:628210024 --> @s3rverro0m commented on GitHub (May 13, 2020): Granted, adding a login page would be easier as a whole, but at least this will allow you to secure all of your containers. It supports 2FA as well which is a big plus.
Author
Owner

@Panja0 commented on GitHub (May 13, 2020):

Thanks! I'll have a look later on. Looks promising. Just like Whoogle itself! :-D
Love it!

I'll leave my enhancement request open.

<!-- gh-comment-id:628210596 --> @Panja0 commented on GitHub (May 13, 2020): Thanks! I'll have a look later on. Looks promising. Just like Whoogle itself! :-D Love it! I'll leave my enhancement request open.
Author
Owner

@benbusby commented on GitHub (May 15, 2020):

I like the idea of this in principle, but (depending on implementation) it might go a bit against the philosophy of keeping this as minimal and lightweight as possible. I can see implementing some form of really basic authentication -- maybe even literally HTTP Basic Auth -- but I'm not sure I'd want to go so far as to create a login page, local user db, etc just for this.

In any case it should definitely be an optional configuration setting to avoid any sort of delay between deployment and actually using the app. I'd even be open to it being set up as username/pw build args passed in the Dockerfile and then used by the Flask server to conditionally prompt for the basic auth dialog.

<!-- gh-comment-id:629409693 --> @benbusby commented on GitHub (May 15, 2020): I like the idea of this in principle, but (depending on implementation) it might go a bit against the philosophy of keeping this as minimal and lightweight as possible. I can see implementing some form of really basic authentication -- maybe even literally HTTP Basic Auth -- but I'm not sure I'd want to go so far as to create a login page, local user db, etc just for this. In any case it should definitely be an optional configuration setting to avoid any sort of delay between deployment and actually using the app. I'd even be open to it being set up as username/pw build args passed in the Dockerfile and then used by the Flask server to conditionally prompt for the basic auth dialog.
Author
Owner

@Panja0 commented on GitHub (May 15, 2020):

Sounds good! Cheers
Keep up the good work! 😃

<!-- gh-comment-id:629414049 --> @Panja0 commented on GitHub (May 15, 2020): Sounds good! Cheers Keep up the good work! 😃
Author
Owner

@benbusby commented on GitHub (May 15, 2020):

Addressed in #51 (pending merge)

<!-- gh-comment-id:629423215 --> @benbusby commented on GitHub (May 15, 2020): Addressed in #51 (pending merge)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#28
No description provided.