remvze / moodist

🌲 Ambient sounds for focus and calm.
https://moodist.mvze.net
MIT License
910 stars 56 forks source link

Auth #35

Closed brentonmallen1 closed 6 months ago

brentonmallen1 commented 6 months ago

Is there a way to add auth to this for the self hosted use case?

SuperMeepBoy commented 6 months ago

@brentonmallen1 As far as I know, there is no authentication mechanism in Moodist (tho, I contribute on this for only a few days).

However, if you really want to do this (and as long as @remvze who is the creator of the code confirms there is not authentication mechanism), you could use basic HTTP Auth. If you use Nginx : https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/

If you need help for this, let me know, I may be able to help.

brentonmallen1 commented 6 months ago

Great suggestion, thank you!